Re: F11 Relabel problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/14/2009 01:34 PM, Arthur Dent wrote:
> On Fri, 2009-08-14 at 11:00 -0400, Daniel J Walsh wrote:
>> On 08/14/2009 10:49 AM, Arthur Dent wrote:
> 
> [snip]
> 
>>> This is the old F9 partition. Should I try to fix them somehow or just
>>> umount the F9 partition and only mount it when I need to peek inside?
>>>
>> Well it is up to you.  One option would be to use a mount context when you mount the partion, 
>> which would override and ignore the F9 labels.  
> 
> Well that sounds like a plan! How best to do it? Is it as simple as
> putting this in fstab? (apologies for the line-wrap)
> 
> /dev/sda6	/mnt/F9		ext3r
> rootcontext="system_u:object_r:initrc_exec_t:s0"	defaults        0 0
> 
> Is that right?
> 
> Thanks!
> 
> Mark
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Just use context, not rootcontext.

And I do not think you want everything on F9 to look like initrc_t.  I guess I would label it all nfs_t, to make it look like a remote system, or usr_t to make it look generic.

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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux