summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--packages.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d0536fd7a..86d30c8c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-28 Jeremy Katz <katzj@redhat.com>
+
+ * packages.py (setFileCons): Normalize path so we don't hit a bug
+ in matchpathcon
+
2006-07-28 David Cantrell <dcantrell@redhat.com>
* isys/dns.c: Removed code that's not in use anymore.
diff --git a/packages.py b/packages.py
index 1f3b67f59..e1742cd97 100644
--- a/packages.py
+++ b/packages.py
@@ -219,7 +219,7 @@ def setFileCons(anaconda):
if not os.access("%s" %(f,), os.R_OK):
log.warning("%s doesn't exist" %(f,))
continue
- ret = isys.resetFileContext(f)
+ ret = isys.resetFileContext(os.path.normpath(f))
log.info("set fc of %s to %s" %(f, ret))
os._exit(0)