[Users] engine-setup error

Cristian Falcas cristi.falcas at gmail.com
Fri Oct 26 15:01:05 UTC 2012


On Fri, Oct 26, 2012 at 1:25 PM, Juan Hernandez <jhernand at redhat.com> wrote:
> On 10/26/2012 09:30 AM, Cristian Falcas wrote:
>> Hi all,
>>
>> Trying to run the engine-setup from the nightly builds gives this error:
>>
>> 2012-10-26 10:23:44::DEBUG::setup_sequences::59::root:: running
>> _configureSelinuxBoolean
>> 2012-10-26 10:23:44::DEBUG::engine-setup::678::root:: Enable
>> httpd_can_network_connect boolean
>> 2012-10-26 10:23:44::DEBUG::common_utils::390::root:: Executing
>> command --> '/usr/sbin/semanage boolean --modify --on
>> httpd_can_network_connect'
>> 2012-10-26 10:23:44::DEBUG::common_utils::428::root:: output =
>> 2012-10-26 10:23:44::DEBUG::common_utils::429::root:: stderr =
>> Traceback (most recent call last):
>>   File "/usr/sbin/semanage", line 572, in <module>
>>     process_args(sys.argv[1:])
>>   File "/usr/sbin/semanage", line 449, in process_args
>>     OBJECT.modify(target, value, use_file)
>>   File "/usr/lib64/python2.7/site-packages/seobject.py", line 2026, in modify
>>     name = selinux.selinux_boolean_sub(name)
>> AttributeError: 'module' object has no attribute 'selinux_boolean_sub'
>>
>> 2012-10-26 10:23:44::DEBUG::common_utils::430::root:: retcode = 1
>>
>>
>> This is the output of the command executed:
>>
>> [root at localhost cristi]# /usr/sbin/semanage boolean --modify --on
>> httpd_can_network_connect
>> BDB2053 Freeing read locks for locker 0x1b6: 1890/140356829087744
>> BDB2053 Freeing read locks for locker 0x1b7: 1890/140356829087744
>> BDB2053 Freeing read locks for locker 0x1b8: 1890/140356829087744
>> BDB2053 Freeing read locks for locker 0x1b9: 1890/140356829087744
>> Traceback (most recent call last):
>>   File "/usr/sbin/semanage", line 572, in <module>
>>     process_args(sys.argv[1:])
>>   File "/usr/sbin/semanage", line 449, in process_args
>>     OBJECT.modify(target, value, use_file)
>>   File "/usr/lib64/python2.7/site-packages/seobject.py", line 2026, in modify
>>     name = selinux.selinux_boolean_sub(name)
>> AttributeError: 'module' object has no attribute 'selinux_boolean_sub'
>
> This looks like a bug in policycoreutils-python. What version of that
> package are you using?
>
> --
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> 3ºD, 28016 Madrid, Spain
> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.



More information about the Users mailing list