Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: setup: exit if selinux is disabled
......................................................................

packaging: setup: exit if selinux is disabled

Restored previous behavior, exiting if selinux is disabled.

Change-Id: I4242c7aedd805f6d7e4ffcc7dc6dd77a31c63dee
Signed-off-by: Sandro Bonazzola <[email protected]>
---
M packaging/fedora/setup/engine_validators.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/71/16771/1

diff --git a/packaging/fedora/setup/engine_validators.py 
b/packaging/fedora/setup/engine_validators.py
index 54c81eb..4d25504 100644
--- a/packaging/fedora/setup/engine_validators.py
+++ b/packaging/fedora/setup/engine_validators.py
@@ -14,6 +14,7 @@
 import cracklib
 import uuid
 import socket
+import sys
 
 
 def validateNFSMountPoint(param, options=[]):
@@ -138,7 +139,7 @@
     if "Disabled" in out:
         logging.debug("SELINUX was found in disabled mode")
         print output_messages.MSG_ENABLE_SELINUX
-        return False
+        sys.exit(1)
     #Need httpd stopped for later port validation
     logging.debug("stopping httpd service")
     utils.Service(basedefs.HTTPD_SERVICE_NAME).stop()


-- 
To view, visit http://gerrit.ovirt.org/16771
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4242c7aedd805f6d7e4ffcc7dc6dd77a31c63dee
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to