equivalent contexts in f12 - has the command changed?

Daniel J Walsh dwalsh at redhat.com
Tue Nov 17 22:59:02 UTC 2009


On 11/17/2009 05:19 PM, Mike Cloaked wrote:
> 
> 
> 
> Mike Cloaked wrote:
>>
>>
>>
>> Mike Cloaked wrote:
>>>
>>> I just tried to do 
>>> semanage fcontext -a -e /home /opt/Local/home
>>>
>>> but it failed saying:
>>> -e not valid for fcontext objects
>>> Can't create lock file '/var/cache/abrt/pyhook-1258493827-2356.lock':
>>> Permission denied
>>> Traceback (most recent call last):
>>>   File "/usr/sbin/semanage", line 501, in <module>
>>>     process_args(sys.argv[1:])
>>>   File "/usr/sbin/semanage", line 392, in process_args
>>>     OBJECT.add_equal(target, equal)
>>> AttributeError: fcontextRecords instance has no attribute 'add_equal'
>>>
>>> Has this command become obsolete in f12? if so what is the equivalent
>>> that I should use? It used to work fine in f11.
>>>
>>
>> ABRT kindly filed the following for me:
>> https://bugzilla.redhat.com/show_bug.cgi?id=538197
>>
> 
> The command:
> semanage fcontext -l -C
> gives a similar denial....
Can you grab the policycoreutils package out of updates-testing and check whether it fixes your problem.




More information about the fedora-selinux-list mailing list