FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora SELinux Support

 
 
LinkBack Thread Tools
 
Old 11-17-2009, 09:06 PM
Mike Cloaked
 
Default equivalent contexts in f12 - has the command changed?

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
--
View this message in context: http://old.nabble.com/equivalent-contexts-in-f12---has-the-command-changed--tp26396485p26396569.html
Sent from the Fedora SELinux List mailing list archive at Nabble.com.

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
 
Old 11-17-2009, 09:19 PM
Mike Cloaked
 
Default equivalent contexts in f12 - has the command changed?

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....
--
View this message in context: http://old.nabble.com/equivalent-contexts-in-f12---has-the-command-changed--tp26396485p26397854.html
Sent from the Fedora SELinux List mailing list archive at Nabble.com.

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
 
Old 11-17-2009, 09:59 PM
Daniel J Walsh
 
Default equivalent contexts in f12 - has the command changed?

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.

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
 
Old 11-18-2009, 06:31 AM
Mike Cloaked
 
Default equivalent contexts in f12 - has the command changed?

Daniel J Walsh wrote:
>
>
>> gives a similar denial....
> Can you grab the policycoreutils package out of updates-testing and check
> whether it fixes your problem.
>
>

OK I will try that tonight when I get back to the machine.
--
View this message in context: http://old.nabble.com/equivalent-contexts-in-f12---has-the-command-changed--tp26396485p26403502.html
Sent from the Fedora SELinux List mailing list archive at Nabble.com.

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
 
Old 11-18-2009, 09:00 PM
Mike Cloaked
 
Default equivalent contexts in f12 - has the command changed?

Mike Cloaked wrote:
>
>
>
> Daniel J Walsh wrote:
>>
>>
>>> gives a similar denial....
>> Can you grab the policycoreutils package out of updates-testing and check
>> whether it fixes your problem.
>>
>>
>
> OK I will try that tonight when I get back to the machine.
>

Yes that fixed it - thank you.
--
View this message in context: http://old.nabble.com/equivalent-contexts-in-f12---has-the-command-changed--tp26396485p26416566.html
Sent from the Fedora SELinux List mailing list archive at Nabble.com.

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
 

Thread Tools




All times are GMT. The time now is 12:21 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org