[linux-cifs-client] Selinux out smarted itself. "Multiple different specifications" One FILE But two types labled ------------- (system_u:object_r:home_root_t:s0 and system_u:object_r:boot_t:s0).

Roger Salisbury rgsalisbury at exemail.com.au
Mon Nov 26 07:06:08 GMT 2007


----------- a challenge for selinux------------

Hi fellow samba/selinux uses ...
I know this is a samba list but my selinux probs have been answered here extremmely well.



Selinux commands complain & refuse to work.

Tradition selinux commands don't work. IE chcon, restorecon , fixfiles, setfiles  etc..I Need an *expert* here, .......... 

my /boot directory has :

:boot_t:

and

:home_root_t:

.......... together labled --- see below.

and I can't fix it.  do we have to edit the "inode" directly??

Having two types on one file I believe should *never* happen but -- it has.

Should be one  ":boot_t:"  or the other ":home_root_t:"  but never *both*!

I think I know how it happened -- but that's not the issue right now -- how do you fix it??

Thx  
Roger Salisbury


Below is the setfiles display:


/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /boot/lost\+found/.*.

/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /boot  (system_u:object_r:home_root_t:s0 and system_u:object_r:boot_t:s0).

/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /boot/\.journal.

/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /boot/lost\+found.

setfiles: labeling files under /boot

setfiles:  labeling files under /boot

matchpathcon_filespec_eval:  hash table stats: 28 elements, 28/65536 buckets used, longest chain length 1

setfiles:  Done.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list