/etc/zipl.conf is written by anaconda when we install the boot loader.
Because we mess with it, we have to reset the selinux context on it
before rebooting.
---
pyanaconda/constants.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/constants.py b/pyanaconda/constants.py
index f8d4628..479dea3 100644
--- a/pyanaconda/constants.py
+++ b/pyanaconda/constants.py
@@ -80,7 +80,8 @@ relabelFiles = ["/etc/rpm/macros", "/etc/dasd.conf",
"/etc/zfcp.conf",
"/etc/udev/rules.d/70-persistent-net.rules",
"/root/install.log", "/root/install.log.syslog",
"/etc/shadow", "/etc/shadow-",
"/etc/gshadow",
- "/etc/dhcp/dhclient-*.conf", "/etc/localtime"]
+ "/etc/dhcp/dhclient-*.conf", "/etc/localtime",
+ "/etc/zipl.conf"]
relabelDirs = ["/etc/sysconfig/network-scripts", "/var/lib/rpm",
"/var/lib/yum", "/etc/lvm",
"/dev/mapper", "/etc/iscsi",
"/var/lib/iscsi", "/root", "/var/lock",
"/var/log", "/etc/modprobe.d",
"/etc/sysconfig", "/var/cache/yum" ]
--
1.7.10.4