summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;