[Ovirt-devel] [PATCH server] fix selinux disable command during installer

Joey Boggs jboggs at redhat.com
Fri Feb 6 04:13:34 UTC 2009


This fixes an issue seen in the appliance during boot/buildtime, I've been able to reproduce only a few times but needed to be fixed anyways

---
 installer/bin/ovirt-installer |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/installer/bin/ovirt-installer b/installer/bin/ovirt-installer
index 99601d4..b7d12d7 100755
--- a/installer/bin/ovirt-installer
+++ b/installer/bin/ovirt-installer
@@ -97,7 +97,7 @@ if File.exist?("/usr/sbin/selinuxenabled")
             exit(0)
         else
             @cli.say("Disabling SELinux")
-            system "/usr/sbin/lokkit --selinuxtype=disabled"
+            system "/usr/sbin/lokkit --selinux=disabled"
             system "/usr/sbin/setenforce 0"
         end
     end
-- 
1.6.0.6




More information about the ovirt-devel mailing list