[Users] Failed to enable SELinux boolean

Nerijus Baliunas nerijus at users.sourceforge.net
Tue Jun 5 14:27:44 UTC 2012


On Tue, 05 Jun 2012 05:19:29 -0400 (EDT) Ofer Schreiber <oschreib at redhat.com> wrote:

> That's a known issue.
> we should run semanage instead of sebool, so it won't fail if selinux is disabled.
> 
> Currently, you can run setup only when selinux is enabled.

I used the following patch for now:

--- engine-setup.py.orig        2012-05-28 17:17:25.000000000 +0300
+++ engine-setup.py     2012-06-05 03:43:04.407580636 +0300
@@ -666,8 +666,8 @@

 def _configureSelinuxBoolean():
     logging.debug("Enable httpd_can_network_connect boolean")
-    cmd = [basedefs.EXEC_SETSEBOOL,"-P","httpd_can_network_connect","1"]
-    out, rc = utils.execCmd(cmd, None, True, output_messages.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)
+    #cmd = [basedefs.EXEC_SETSEBOOL,"-P","httpd_can_network_connect","1"]
+    #out, rc = utils.execCmd(cmd, None, True, output_messages.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)

 def _configureHttpdSslKeys():
     try:




More information about the Users mailing list