From a6c64eb591f82b78bc1f9462d06c6bf6d9dfc138 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 19 Apr 2007 18:00:57 +0000 Subject: 2007-04-19 Jeremy Katz * packages.py (setFileCons): Add /etc/modprobe.d to our list of dirs that we have to restorecon --- packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages.py') diff --git a/packages.py b/packages.py index 7c6d322df..9e93d85d0 100644 --- a/packages.py +++ b/packages.py @@ -213,7 +213,7 @@ def setFileCons(anaconda): vgs.append("/dev/%s" %(entry.volumeGroupName,)) # ugh, this is ugly - for dir in ["/etc/sysconfig/network-scripts", "/var/lib/rpm", "/etc/lvm", "/dev/mapper", "/etc/iscsi", "/var/lib/iscsi"] + vgs: + for dir in ["/etc/sysconfig/network-scripts", "/var/lib/rpm", "/etc/lvm", "/dev/mapper", "/etc/iscsi", "/var/lib/iscsi", "/etc/modprobe.d"] + vgs: def addpath(x): return dir + "/" + x if not os.path.isdir(anaconda.rootPath + dir): -- cgit