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. --- pyanaconda/packages.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pyanaconda/packages.py b/pyanaconda/packages.py index 7d88d06..1384d1c 100644 --- a/pyanaconda/packages.py +++ b/pyanaconda/packages.py @@ -205,7 +205,7 @@ def setFileCons(anaconda): vgs = ["/dev/%s" % vg.name for vg in anaconda.storage.vgs] # ugh, this is ugly - for dir in ["/etc/sysconfig/network-scripts", "/var/lib/rpm", "/etc/lvm", "/dev/mapper", "/etc/iscsi", "/var/lib/iscsi", "/root", "/var/log", "/etc/modprobe.d", "/etc/sysconfig" ] + vgs: + for dir in ["/etc/sysconfig/network-scripts", "/var/lib/rpm", "/etc/lvm", "/dev/mapper", "/etc/iscsi", "/var/lib/iscsi", "/root", "/var/log", "/etc/modprobe.d", "/etc/sysconfig", "/var/cache/yum" ] + vgs: def addpath(x): return dir + "/" + x if not os.path.isdir(anaconda.rootPath + dir): -- 1.7.1.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list