Re: fixfiles -F option

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

 



On 10/05/2009 10:20 AM, Moray Henderson (ICT) wrote:
> Hello List.
> 
> I have an rpm for an selinux policy for a custom CentOS 5.3 distribution.  When I install it, I use pre/post install scripts to back up the previous file contexts and run "fixfiles -C ${FILE_CONTEXT}.pre restore" as in the standard selinux-policy-targeted rpm.
> 
> On an upgrade, old httpd_sys_content_t files are not being updated to public_content_rw_t because httpd_sys_content_t is in the customizable_types file.
> 
> According to the fixfiles man page, -F should "Force reset of context to match file_context for customizable files", but when I added it, it made no difference.  I had a look at the fixfiles script, and indeed it looks as if -F doesn't work with -C.  Is that correct, or did I miss something?
> 
> Is there a recommended way to do that?
> 
> 
> Moray.
> "To err is human.  To purr, feline"
> 
> 
> 
> --
> fedora-selinux-list mailing list
> fedora-selinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
> 
> 
Fix fixfiles and send a patch.  :^(

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux