[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/bind/devel bind.spec,1.130,1.131



Author: stransky

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

Modified Files:
	bind.spec 
Log Message:
removed chcon from post script, replaced by restorecon, (Bug 202547, comment no. 37)


Index: bind.spec
===================================================================
RCS file: /cvs/dist/rpms/bind/devel/bind.spec,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -r1.130 -r1.131
--- bind.spec	16 Sep 2006 09:38:56 -0000	1.130
+++ bind.spec	2 Oct 2006 13:54:47 -0000	1.131
@@ -18,7 +18,7 @@
 Name: 		bind
 License: 	BSD-like
 Version: 	9.3.3
-Release: 	1%{?dist}
+Release: 	2%{?dist}
 Epoch:   	30
 Url: 		http://www.isc.org/products/BIND/
 Buildroot: 	%{_tmppath}/%{name}-root
@@ -706,8 +706,8 @@
 
 %post -n caching-nameserver
 if [ "$1" -gt 0 ]; then
-   /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 || :;
+   /sbin/restorecon /etc/named.caching-nameserver.conf >/dev/null 2>&1 || :;
+   /sbin/restorecon /etc/named.rfc1912.zones >/dev/null 2>&1 || :;
    . /usr/sbin/bind-chroot-admin --sync;
 fi;
 :;
@@ -782,6 +782,10 @@
 :;
 
 %changelog
+* Mon Oct 2 2006 Martin Stransky <stransky redhat com> - 30:9.3.3-2
+- removed chcon from post script, replaced by restorecon 
+  (Bug 202547, comment no. 37)
+
 * Fri Sep 15 2006 Martin Stransky <stransky redhat com> - 30:9.3.3-1
 - updated to the latest upstream (9.3.3rc2)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]