rpms/bind/devel bind.spec,1.124,1.125

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Aug 28 14:05:39 UTC 2006


Author: dwalsh

Update of /cvs/dist/rpms/bind/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29046

Modified Files:
	bind.spec 
Log Message:
Fix chcon for SELinux


Index: bind.spec
===================================================================
RCS file: /cvs/dist/rpms/bind/devel/bind.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- bind.spec	22 Aug 2006 11:01:33 -0000	1.124
+++ bind.spec	28 Aug 2006 14:05:37 -0000	1.125
@@ -776,8 +776,8 @@
 
 %post -n caching-nameserver
 if [ "$1" -gt 0 ]; then
-   /usr/bin/chcon system_u:object_r:named_conf_t  /etc/named.caching-nameserver.conf >/dev/null 2>&1 || :;
-   /usr/bin/chcon system_u:object_r:named_conf_t  /etc/named.rfc1912.zones >/dev/null 2>&1 || :;
+   /usr/bin/chcon -t named_conf_t  /etc/named.caching-nameserver.conf >/dev/null 2>&1 || :;
+   /usr/bin/chcon -t named_conf_t  /etc/named.rfc1912.zones >/dev/null 2>&1 || :;
    . /usr/sbin/bind-chroot-admin --sync;
 fi;
 :;




More information about the fedora-cvs-commits mailing list