summaryrefslogtreecommitdiffstats
path: root/whiteout.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-02-19 17:32:21 +0000
committerJeremy Katz <katzj@redhat.com>2004-02-19 17:32:21 +0000
commit5041cd263834d6e70c8571b08eb2f29f401a8cd3 (patch)
tree844d8884ae96ad83b47d8df38c242fd4c8ce814a /whiteout.py
parentbc4a41b1807117ac7c57417bb4fbbaaabbbd324d (diff)
downloadanaconda-5041cd263834d6e70c8571b08eb2f29f401a8cd3.tar.gz
anaconda-5041cd263834d6e70c8571b08eb2f29f401a8cd3.tar.xz
anaconda-5041cd263834d6e70c8571b08eb2f29f401a8cd3.zip
look somewhere else so that we dtrt for root mode
Diffstat (limited to 'whiteout.py')
-rw-r--r--whiteout.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/whiteout.py b/whiteout.py
index 405eaaf89..12bb65f4f 100644
--- a/whiteout.py
+++ b/whiteout.py
@@ -19,6 +19,7 @@ f.close()
if os.path.exists("/selinux/load") and line.find(" selinux=0") == -1:
for fn in ("/tmp/updates/file_contexts",
"/mnt/source/RHupdates/file_contexts",
+ "/etc/security/selinux/src/policy/file_contexts/file_contexts",
"/mnt/runtime/etc/security/selinux/src/policy/file_contexts/file_contexts"):
if os.access(fn, os.R_OK):
break