diff options
author | Jeremy Katz <katzj@redhat.com> | 2008-02-07 17:02:51 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-02-07 17:06:48 -0500 |
commit | f5f6c227d6a3ee3bb3b283bce86117c4cba5ac7b (patch) | |
tree | 59cc4c57a58d96793a9033533e67fd0f4a1b6462 /liveinst | |
parent | a25f4329f7208d42cee0a62759e170883374f44a (diff) | |
download | anaconda-f5f6c227d6a3ee3bb3b283bce86117c4cba5ac7b.tar.gz anaconda-f5f6c227d6a3ee3bb3b283bce86117c4cba5ac7b.tar.xz anaconda-f5f6c227d6a3ee3bb3b283bce86117c4cba5ac7b.zip |
Ensure we disable SELinux if the live image isn't using it (#417601)
Diffstat (limited to 'liveinst')
-rw-r--r-- | liveinst/liveinst.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh index 95d8de2f9..b61a5a5e2 100644 --- a/liveinst/liveinst.sh +++ b/liveinst/liveinst.sh @@ -52,6 +52,10 @@ if [ -x /usr/sbin/setenforce -a -e /selinux/enforce ]; then /usr/sbin/setenforce 0 fi +if [ ! -e /selinux/load ]; then + ANACONDA="$ANACONDA --noselinux" +fi + /sbin/swapoff -a /sbin/lvm vgchange -an --ignorelockingfailure |