This patch version is for master, for rhel6-branch the change has to be in packages.py instead of constants.py.
-jlk
/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" ]
On Thu, Jul 05, 2012 at 01:38:17PM -0700, Jesse Keating wrote:
/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.
Ack
anaconda-patches@lists.fedorahosted.org