diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-07-07 22:55:56 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-07-07 22:55:56 +0000 |
commit | 916a722874043dd0a1b4a1c2251af03346f5ff66 (patch) | |
tree | 5f1af16f5570a5801a77fdc619f84aba0f9dd350 | |
parent | 84396096efd3b882510a84a46ca937319f16db73 (diff) | |
download | anaconda-10.0.1-2.tar.gz anaconda-10.0.1-2.tar.xz anaconda-10.0.1-2.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.inc | 2 | ||||
-rw-r--r-- | loader2/loader.c | 4 |
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; |