<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
text="#000000">
<font face="Nazli">Another failure occur when handling HTTPD<br>
Handling HTTPD... [
ERROR ]<br>
Failed to enable SELinux boolean<br>
<br>
I found the related line in log:<br>
2012-09-03 22:18:23::DEBUG::setup_sequences::59::root:: running
_configureSelinuxBoolean<br>
2012-09-03 22:18:23::DEBUG::engine-setup::672::root:: Enable
httpd_can_network_connect boolean<br>
2012-09-03 22:18:23::DEBUG::common_utils::309::root:: Executing
command --> '/usr/sbin/setsebool -P httpd_can_network_connect
1'<br>
2012-09-03 22:18:44::DEBUG::common_utils::335::root:: output = <br>
2012-09-03 22:18:44::DEBUG::common_utils::336::root:: stderr =
libsepol.sepol_context_from_string: malformed context "(/.*)?"
(Invalid argument).<br>
libsepol.sepol_context_from_string: could not construct context
from string (Invalid argument).<br>
libsemanage.fcontext_parse: invalid security context "(/.*)?"
(/etc/selinux/targeted/modules/tmp//file_contexts.local: 6)<br>
/virt/iso (/.*)? system_u:object_r:public_content_rw_t:s0
(Invalid argument).<br>
libsemanage.fcontext_parse: could not parse file context record
(Invalid argument).<br>
libsemanage.dbase_file_cache: could not cache file database
(Invalid argument).<br>
libsemanage.enter_ro: could not enter read-only section (Invalid
argument).<br>
Could not change policy booleans<br>
<br>
2012-09-03 22:18:44::DEBUG::common_utils::337::root:: retcode =
255<br>
2012-09-03 22:18:44::DEBUG::setup_sequences::62::root:: Traceback
(most recent call last):<br>
File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line
60, in run<br>
function()<br>
File "/usr/bin/engine-setup", line 674, in
_configureSelinuxBoolean<br>
out, rc = utils.execCmd(cmd, None, True,
output_messages.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)<br>
File "/usr/share/ovirt-engine/scripts/common_utils.py", line
340, in execCmd<br>
raise Exception(msg)<br>
Exception: Failed to enable SELinux boolean<br>
<br>
Any help? is it a bug?<br>
</font>
<div id="smartTemplate4-template"><br>
<br>
<style type="text/css">blockquote [[ /*Sun, 2 Sep 2012 19:30:39 -0400 (EDT)*/ color: navy !important; background-color: RGB(245,245,245) !important; padding: 0 15 10 15 !important; margin: 15 0 0 0; border-left: #1010ff 2px solid;]]blockquote blockquote {{ /*Sun, 2 Sep 2012 19:30:39 -0400 (EDT)*/ color: maroon !important; background-color: RGB(235,235,235) !important; border-left-color:maroon !important}}blockquote blockquote blockquote {{ /*Sun, 2 Sep 2012 19:30:39 -0400 (EDT)*/ color: green !important; background-color: RGB(225,225,225) !important; border-left-color:teal !important}}blockquote blockquote blockquote blockquote {{ /*Sun, 2 Sep 2012 19:30:39 -0400 (EDT)*/ color: purple !important; background-color: RGB(215,215,215) !important; border-left-color: purple !important}}blockquote blockquote blockquote blockquote blockquote {{ /*Sun, 2 Sep 2012 19:30:39 -0400 (EDT)*/ color: teal !important; background-color: RGB(205,205,205) !important; border-left-color: green !import
ant}}</style><i><b>Tim
Hildred <a class="moz-txt-link-rfc2396E" href="mailto:thildred@redhat.com"><thildred@redhat.com></a></b></i> wrote on Sun, 2
Sep 2012 19:30:39 -0400 (EDT):</div>
<blockquote
cite="mid:862470454.109866458.1346628639587.JavaMail.root@redhat.com"
type="cite">
<pre wrap="">Hey Mohsen;
Did you check /etc/sysconfig/selinux to ensure that "SELINUX=enforcing"?
If you set it with setenforce, it would have reverted to whatever is in that file on any reboots.
At least that was my problem when I got that error.
Tim Hildred, RHCE
Content Author II - Engineering Content Services, Red Hat, Inc.
Brisbane, Australia
Email: <a class="moz-txt-link-abbreviated" href="mailto:thildred@redhat.com">thildred@redhat.com</a>
Internal: 8588287
Mobile: +61 4 666 25242
IRC: thildred
----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">From: "Mohsen Saeedi" <a class="moz-txt-link-rfc2396E" href="mailto:mohsen.saeedi@gmail.com"><mohsen.saeedi@gmail.com></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a>
Sent: Monday, September 3, 2012 6:59:47 AM
Subject: [Users] engine-cleanup and then engine-setup - Failed to enable        SELinux boolean
Hi
i'm usign Ovirt 3.1 on the Centos 6.3 x64.
I use engine-cleanup and then use engine-setup again. everything was
ok but i got the SELinux error at the end of configuration:
Proceed with the configuration listed above? (yes|no): yes
Installing:
AIO: Validating CPU Compatibility... [ DONE ]
Configuring oVirt-engine... [ DONE ]
Creating CA... [ DONE ]
Editing JBoss Configuration... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Creating Database... [ DONE ]
Updating the Default Data Center Storage Type... [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration... [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall (iptables)... [ DONE ]
Starting JBoss Service... [ DONE ]
Handling HTTPD... [ ERROR ]
Failed to enable SELinux boolean
Please check log file
/var/log/ovirt-engine/engine-setup_2012_09_03_01_17_41.log for more
information
I Attached the log file.
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
</body>
</html>