[master/f21] Run restorecon on /etc/hostname (#1133368)

Brian C. Lane bcl at redhat.com
Tue Oct 14 00:40:54 UTC 2014


---
 data/post-scripts/80-setfilecons.ks | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/post-scripts/80-setfilecons.ks b/data/post-scripts/80-setfilecons.ks
index f0d0414..5adae44 100644
--- a/data/post-scripts/80-setfilecons.ks
+++ b/data/post-scripts/80-setfilecons.ks
@@ -12,7 +12,7 @@ restorecon -i /etc/rpm/macros /etc/dasd.conf /etc/zfcp.conf /lib64 /usr/lib64 \
               /etc/modprobe.conf* /var/log/*tmp /etc/crypttab \
               /etc/mdadm.conf /etc/sysconfig/network /root/install.log* \
               /etc/*shadow* /etc/dhcp/dhclient-*.conf /etc/localtime \
-              /root/install.log*
+              /etc/hostname /root/install.log*
 
 if [ -e /etc/zipl.conf ]; then
     restorecon -i /etc/zipl.conf
-- 
1.9.3



More information about the anaconda-patches mailing list