rpms/bind/devel bind.spec, 1.317, 1.318 named.init, 1.72, 1.73 named.sysconfig, 1.10, 1.11

Adam Tkac atkac at fedoraproject.org
Mon Jul 13 13:03:12 UTC 2009


Author: atkac

Update of /cvs/pkgs/rpms/bind/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11902

Modified Files:
	bind.spec named.init named.sysconfig 
Log Message:
- fix broken symlinks in bind-libs (#509635)
- fix typos in /etc/sysconfig/named (#509650)
- add DEBUG option to /etc/sysconfig/named (#510283)



Index: bind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/bind.spec,v
retrieving revision 1.317
retrieving revision 1.318
diff -u -p -r1.317 -r1.318
--- bind.spec	24 Jun 2009 14:51:55 -0000	1.317
+++ bind.spec	13 Jul 2009 13:02:41 -0000	1.318
@@ -20,7 +20,7 @@ Summary:  The Berkeley Internet Name Dom
 Name:     bind
 License:  ISC
 Version:  9.6.1
-Release:  2%{?dist}
+Release:  3%{?dist}
 Epoch:    32
 Url:      http://www.isc.org/products/BIND/
 Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -426,6 +426,12 @@ fi
 
 %postun libs -p /sbin/ldconfig
 
+# bind-libs between 32:9.6.1-0.1.b1 and 32:9.6.1-0.4.rc1 have bigger SOnames
+# than current bind - https://bugzilla.redhat.com/show_bug.cgi?id=509635.
+# Remove this trigger when SOnames get bigger.
+%triggerpostun -n bind-libs -- bind-libs > 32:9.6.1-0.1.b1
+/sbin/ldconfig
+
 %post chroot
 if [ "$1" -gt 0 ]; then
   [ -e %{chroot_prefix}/dev/random ] || \
@@ -577,6 +583,11 @@ rm -rf ${RPM_BUILD_ROOT}
 %ghost %{chroot_prefix}/etc/localtime
 
 %changelog
+* Mon Jul 13 2009 Adam Tkac <atkac redhat com> 32:9.6.1-3
+- fix broken symlinks in bind-libs (#509635)
+- fix typos in /etc/sysconfig/named (#509650)
+- add DEBUG option to /etc/sysconfig/named (#510283)
+
 * Wed Jun 24 2009 Adam Tkac <atkac redhat com> 32:9.6.1-2
 - improved "chroot automount" patches (#504596)
 - host should fail if specified server doesn't respond (#507469)


Index: named.init
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/named.init,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -p -r1.72 -r1.73
--- named.init	24 Jun 2009 14:51:55 -0000	1.72
+++ named.init	13 Jul 2009 13:02:42 -0000	1.73
@@ -47,6 +47,17 @@ fi
   [ /etc/sysconfig/dnssec -nt /etc/named.conf ] && \
    /usr/sbin/dnssec-configure -b --norestart --dnssec="$DNSSEC" --dlv="$DLV"
 
+# Enable/disable debugging
+if [ "x$DEBUG" = 'xyes' ]; then
+  chown named.named /var/named
+  [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled &&
+    setsebool named_write_master_zones 1
+else
+  chown root.named /var/named
+  [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled &&
+    setsebool named_write_master_zones 0
+fi
+
 ROOTDIR_MOUNT='/etc/named /etc/pki/dnssec-keys /var/named /etc/named.conf
 /etc/named.dnssec.keys /etc/named.rfc1912.zones /etc/rndc.conf /etc/rndc.key
 /usr/lib64/bind /usr/lib/bind'


Index: named.sysconfig
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/named.sysconfig,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- named.sysconfig	24 Jun 2009 14:51:55 -0000	1.10
+++ named.sysconfig	13 Jul 2009 13:02:42 -0000	1.11
@@ -13,7 +13,7 @@
 #          - /var/named
 #          - /etc/pki/dnssec-keys
 #          - /etc/named
-#          - /usr/lib64/bind of /usr/lib/bind (architecture dependant)
+#          - /usr/lib64/bind or /usr/lib/bind (architecture dependent)
 #
 #	  Those files are mounted as well if target file doesn't exist in
 #	  chroot.
@@ -28,3 +28,8 @@
 #                            at startup. Don't add -t here, use ROOTDIR instead.
 #
 # KEYTAB_FILE="/dir/file"    --  Specify named service keytab file (for GSS-TSIG)
+#
+# DEBUG="yes|no"         -- This option controls if you would like to debug
+# 			    named process. If you set this option to "yes" then
+# 			    /var/named/ directory become writable by named user
+# 			    and named will be able to write core dumps there.




More information about the fedora-extras-commits mailing list