summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-01-28 01:42:21 +0000
committerJeremy Katz <katzj@redhat.com>2004-01-28 01:42:21 +0000
commitd72d72971f32dc1a12eb6f517981c36181681842 (patch)
treec6da5cdce219dfca43fa850c6ac48ca6ffb0d4da /anaconda
parent1bd8a69ae38d12ec1f2f0700f44436b428e322b3 (diff)
downloadanaconda-d72d72971f32dc1a12eb6f517981c36181681842.tar.gz
anaconda-d72d72971f32dc1a12eb6f517981c36181681842.tar.xz
anaconda-d72d72971f32dc1a12eb6f517981c36181681842.zip
if we can't mount /selinux, don't cry about it
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda5
1 files changed, 4 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 9f3e03726..7b2afc48a 100755
--- a/anaconda
+++ b/anaconda
@@ -571,7 +571,10 @@ log.handler=anaconda_log
# now let's set up our selinux stuff. whee!
if flags.setupFilesystems:
os.mkdir("/selinux")
- isys.mount("/selinux", "/selinux", fstype="selinuxfs")
+ try:
+ isys.mount("/selinux", "/selinux", fstype="selinuxfs")
+ except:
+ pass
if os.access("/selinux/load", os.W_OK):
dup_log("Loading selinux policy...")
args = ["/usr/sbin/load_policy",