/selinux has been gone for *years*. Drop the exclude.
---
src/pylorax/treebuilder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py
index 4520414..4275550 100644
--- a/src/pylorax/treebuilder.py
+++ b/src/pylorax/treebuilder.py
@@ -158,7 +158,7 @@ class RuntimeBuilder(object):
# Reset selinux context on new rootfs
with imgutils.LoopDev( joinpaths(workdir, "LiveOS/rootfs.img") ) as
loopdev:
with imgutils.Mount(loopdev) as mnt:
- cmd = [ "setfiles", "-e", "/proc",
"-e", "/sys", "-e", "/dev", "-e",
"/selinux", "/etc/selinux/targeted/contexts/files/file_contexts",
"/"]
+ cmd = [ "setfiles", "-e", "/proc",
"-e", "/sys", "-e", "/dev",
"/etc/selinux/targeted/contexts/files/file_contexts", "/"]
runcmd(cmd, root=mnt)
# squash the live rootfs and clean up workdir
--
1.8.1.4
Show replies by date
Ack to this and to adding -x to linktree
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)