diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-03-30 21:29:02 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-03-30 21:29:02 +0000 |
commit | e84006389ded59ef30d646d7d2ba517e25fbc569 (patch) | |
tree | 29a3ec0d8208f287334b0fe02452f4c1f4e07c4a /anaconda | |
parent | f91d979caade0c13e6b7fbc51a4ba9e3c92660e5 (diff) | |
download | anaconda-e84006389ded59ef30d646d7d2ba517e25fbc569.tar.gz anaconda-e84006389ded59ef30d646d7d2ba517e25fbc569.tar.xz anaconda-e84006389ded59ef30d646d7d2ba517e25fbc569.zip |
handle a policy load failure by disabling selinux
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -394,7 +394,7 @@ try: 'testpath=', 'mountfs', 'traceonly', 'kickstart=', 'lang=', 'keymap=', 'kbdtype=', 'module=', 'class=', 'expert', 'serial', 'lowres', 'nofb', 'rescue', 'nomount', - 'autostep', 'resolution=', 'skipddc', + 'autostep', 'resolution=', 'skipddc', 'noselinux', 'vnc', 'vncconnect=', 'cmdline', 'headless']) except TypeError, msg: sys.stderr.write("Error %s\n:" % msg) @@ -510,6 +510,8 @@ for n in args: # run native X server at specified resolution, ignore fb runres = arg runres_override = 1 + elif (str == '--noselinux'): + flags.selinux = 0 elif (str == "--skipddc"): skipddc = 1 elif (str == "--autostep"): |