Re: SELinux Relabeling

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



On Wednesday 09 September 2009 08:08:27 am Jorge Fábregas wrote:
>  If I perform "matchpathcon  /var/whatever" I still get var_t as
> its default type. Then again, why it kept the httpd_sys_content_t after the
> relabel?

I did the same test on Fedora 10 (which of course is way newer than Centos) 
and it behaves different (the way I had in mind):  after a relabel thru
./autorelabel, all the files & directories I create under /var return to var_t 
(if there's no override in file_contexts.local).  

In CentOS 5.3, If I manually change from var_t to something else, when I 
relabel the filesystem, the file keeps the type I specified (and not the 
default it should have based on its location). Please if anyone knows why 
this happens i'd be glad to know.

Thanks,
Jorge
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux