[CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
Patrick Bervoets
patrick.bervoets at psc-elsene.beWed Dec 17 14:52:10 UTC 2014
- Previous message: [CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
- Next message: [CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
- Next message: [CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list