[Users] Failed to enable SELinux boolean

Haim Ateya hateya at redhat.com
Tue Jun 5 03:17:44 UTC 2012


Hi,

I guess that if you enable selinux then setup runs positively ? Can you verify that? 

Please run: getenforce, of it's disabled, edit /etc/sysconfig/selinux ang change to enforcing, reboot the machine, re-run setup.


Haim

On Jun 5, 2012, at 0:50, Nerijus Baliunas <nerijus at users.sourceforge.net> wrote:

> Hello,
> 
> recent snapshot, engine-setup fails (selinux is disabled in the OS):
> 
> 2012-06-05 03:34:26::DEBUG::setup_sequences::59::root:: running _configureSelinuxBoolean
> 2012-06-05 03:34:26::DEBUG::engine-setup::668::root:: Enable httpd_can_network_connect boolean
> 2012-06-05 03:34:26::DEBUG::common_utils::309::root:: Executing command --> '/usr/sbin/setsebool -P httpd_can_network_connect 1'
> 2012-06-05 03:34:26::DEBUG::common_utils::335::root:: output =
> 2012-06-05 03:34:26::DEBUG::common_utils::336::root:: stderr = setsebool:  SELinux is disabled.
> 
> 2012-06-05 03:34:26::DEBUG::common_utils::337::root:: retcode = 1
> 2012-06-05 03:34:26::DEBUG::setup_sequences::62::root:: Traceback (most recent call last):
>  File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run
>    function()
>  File "/usr/bin/engine-setup", line 670, in _configureSelinuxBoolean
>    out, rc = utils.execCmd(cmd, None, True, output_messages.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)
>  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 340, in execCmd
>    raise Exception(msg)
> Exception: Failed to enable SELinux boolean
> 
> Regards,
> Nerijus
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list