issue on 'fixfiles relabel'

Stephen Smalley sds at epoch.ncsc.mil
Fri Aug 13 17:49:37 UTC 2004


On Fri, 2004-08-13 at 11:26, Park Lee wrote:
> On Thu, 03 Jun 2004 10:29:17, Stephen Smalley wrote:
> >The policy package installs a copy of the file_contexts file to
> >/etc/security/selinux so that it is available for use by fixfiles,
> >setfiles, or restorecon even if policy sources is not available.
> But in <<Fedora Core 2 SELinux FAQ>>,there is one statement:
> > You will need to have the policy-sources package 
> > installed to use setfiles.
>  
> Then, If policy package installs a copy of the file_contexts file to
> /etc/security/selinux, is it necessary to install policy-sources
> package in order to use setfiles? 

No, policy-sources is not required to use setfiles; you can apply
setfiles to the installed file_contexts configuration file (and fixfiles
is just a script that runs setfiles on it).  Bug in the FAQ, please
bugzilla it.

-- 
Stephen Smalley <sds at epoch.ncsc.mil>
National Security Agency




More information about the fedora-selinux-list mailing list