summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-03-30 21:29:02 +0000
committerJeremy Katz <katzj@redhat.com>2004-03-30 21:29:02 +0000
commite84006389ded59ef30d646d7d2ba517e25fbc569 (patch)
tree29a3ec0d8208f287334b0fe02452f4c1f4e07c4a /anaconda
parentf91d979caade0c13e6b7fbc51a4ba9e3c92660e5 (diff)
downloadanaconda-e84006389ded59ef30d646d7d2ba517e25fbc569.tar.gz
anaconda-e84006389ded59ef30d646d7d2ba517e25fbc569.tar.xz
anaconda-e84006389ded59ef30d646d7d2ba517e25fbc569.zip
handle a policy load failure by disabling selinux
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda4
1 files changed, 3 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 0114ec604..9f61fe8f4 100755
--- a/anaconda
+++ b/anaconda
@@ -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"):