Re: selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?

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




Op 17-12-14 om 14:56 schreef Jonathan Billings:
On Wed, Dec 17, 2014 at 11:07:06AM +0100, Patrick Bervoets wrote:
     echo "/var/www/html/  -- unconfined_u:object_r:public_content_rw_t:s0" >> /etc/selinux/targeted/contexts/files/file_contexts
Next time try putting the local policy into:
/etc/selinux/targeted/contexts/files/file_contexts.local
... which isn't overwritten by package updates.  This is what would
have happened if you had used the 'semanage fcontext' command.


Thank you, it even makes sense :-)
Troubleshooting selinux is still on my skills-wishlist.

_______________________________________________
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