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

Re: [PATCH f14-branch master] Reset labels on /var/cache/yum as well (#623434).



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/19/2010 11:34 AM, Chris Lumens wrote:
> anaconda indirectly creates this directory tree when it creates a Yum object
> chrooted under /mnt/sysimage, so we need to ensure it gets the proper selinux
> label.
> 
> While I'm at it, fix a couple stupid things in how file context setting didn't
> work:
> 
> (1) Make directory handling recursive, since who knows how much stuff is in
>     /var/cache/yum.
> 
> (2) Make globs check against /mnt/sysimage instead of /.  Before, we were just
>     getting lucky with contexts since the networking files were all the same.
>     But we shouldn't rely on that luck continuing.
> 
> (3) Move the file lists into constants.py.

Ack

- -- 
Brian C. Lane <bcl redhat com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Remember Lexington Green!

iQEVAwUBTG19PBF+jBaO/jp/AQK6Uwf/fbFlZtV15ZvNryZ8tMKLX3cS23XtMizy
ntO9Ost4JzRzJr2RyKuZFYedIIRCnVESmha8Kk/Ap05sinskO3OiyQQO/6dVR9M+
BARIskagMbjU+htZBaFofB80I4qaQ+i+AaamFlu2VADY1oU+COMKRXmQ/ODvCqZM
iwspzo3A0mSEohlF5tPoob8jwA8hlhQAMoNM9VWrHPkXlwJuRDBtwikJ7EDC+3Vj
K+hgQCORp+XUzZdlv9uzICOQl9oADbdhdQWuezwqKvAWh+vD/PEXFOUazygTOuEh
v77KebYvTpfeBSrDtlgWBvtqx3Vl4SNVcMbSInPlNgqNepp+eUcu1g==
=SZPC
-----END PGP SIGNATURE-----


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