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 /loader2 | |
parent | 84396096efd3b882510a84a46ca937319f16db73 (diff) | |
download | anaconda-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 */
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/loader.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |