[CentOS] selinux-policy update resets /etc/selinux/targeted/contexts/files/file_contexts?

Wed Dec 17 13:56:36 UTC 2014
Jonathan Billings <billings at negate.org>

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.

-- 
Jonathan Billings <billings at negate.org>