summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-07-07 22:55:56 +0000
committerJeremy Katz <katzj@redhat.com>2004-07-07 22:55:56 +0000
commit916a722874043dd0a1b4a1c2251af03346f5ff66 (patch)
tree5f1af16f5570a5801a77fdc619f84aba0f9dd350
parent84396096efd3b882510a84a46ca937319f16db73 (diff)
downloadanaconda-916a722874043dd0a1b4a1c2251af03346f5ff66.tar.gz
anaconda-916a722874043dd0a1b4a1c2251af03346f5ff66.tar.xz
anaconda-916a722874043dd0a1b4a1c2251af03346f5ff66.zip
/* FIXME: this is a bad hack for libselinux keeping staticanaconda-10.0.1-2
* track of what paths to use and defaulting to the wrong * paths */
-rw-r--r--Makefile.inc2
-rw-r--r--loader2/loader.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 1a2ccbea4..2433dc971 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -2,7 +2,7 @@
# define destination locations
#
VERSION = 10.0.1
-RELEASE = 1
+RELEASE = 2
TIMESTAMP := $(shell date "+.%Y%m%d%H%M%S")
SNAPRELEASE := $(RELEASE)$(TIMESTAMP)
diff --git a/loader2/loader.c b/loader2/loader.c
index 26c304b44..59ef3903e 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -1288,6 +1288,10 @@ int main(int argc, char ** argv) {
} else {
if (loadpolicy() == 0) {
setexeccon(ANACONDA_CONTEXT);
+ /* FIXME: this is a bad hack for libselinux keeping static
+ * track of what paths to use and defaulting to the wrong
+ * thing */
+ symlink("/mnt/runtime/etc/selinux", "/etc/selinux");
} else {
logMessage("failed to load policy, disabling SELinux");
flags &= ~LOADER_FLAGS_SELINUX;