- revert the "DEBUG" feature (#510283), it causes too many problems

(#545128)
This commit is contained in:
Adam Tkac 2010-01-27 15:19:02 +00:00
parent 853a1f339e
commit b51a1f40e4
3 changed files with 4 additions and 25 deletions

View File

@ -20,7 +20,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind Name: bind
License: ISC License: ISC
Version: 9.7.0 Version: 9.7.0
Release: 0.10.%{PREVER}%{?dist} Release: 0.11.%{PREVER}%{?dist}
Epoch: 32 Epoch: 32
Url: http://www.isc.org/products/BIND/ Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -621,6 +621,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif %endif
%changelog %changelog
* Wed Jan 27 2010 Adam Tkac <atkac redhat com> 32:9.7.0-0.11.rc1
- revert the "DEBUG" feature (#510283), it causes too many problems (#545128)
* Tue Dec 15 2009 Adam Tkac <atkac redhat com> 32:9.7.0-0.10.rc1 * Tue Dec 15 2009 Adam Tkac <atkac redhat com> 32:9.7.0-0.10.rc1
- update to 9.7.0rc1 - update to 9.7.0rc1
- bind97-headers.patch merged - bind97-headers.patch merged

View File

@ -47,21 +47,6 @@ fi
[ /etc/sysconfig/dnssec -nt /etc/named.conf ] && \ [ /etc/sysconfig/dnssec -nt /etc/named.conf ] && \
/usr/sbin/dnssec-configure -b --norestart --dnssec="$DNSSEC" --dlv="$DLV" /usr/sbin/dnssec-configure -b --norestart --dnssec="$DNSSEC" --dlv="$DLV"
# Enable/disable debugging
if [ "x$DEBUG" = 'xyes' ]; then
chown named.named /var/named
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled &&
[ `getsebool named_write_master_zones | awk '{ print $3; }'` = 'off' ]; then
setsebool named_write_master_zones 1
fi;
else
chown root.named /var/named
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled &&
[ `getsebool named_write_master_zones | awk '{ print $3; }'` = 'on' ]; then
setsebool named_write_master_zones 0
fi;
fi
ROOTDIR_MOUNT='/etc/named /etc/pki/dnssec-keys /var/named /etc/named.conf 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 /etc/named.dnssec.keys /etc/named.rfc1912.zones /etc/rndc.conf /etc/rndc.key
/usr/lib64/bind /usr/lib/bind' /usr/lib64/bind /usr/lib/bind'

View File

@ -31,12 +31,3 @@
# at startup. Don't add -t here, use ROOTDIR instead. # at startup. Don't add -t here, use ROOTDIR instead.
# #
# KEYTAB_FILE="/dir/file" -- Specify named service keytab file (for GSS-TSIG) # 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.
#
# OPTIONS="-E pkcs11" -- Enable loading of DNSSEC keys from PKCS11 compatible
# keystores. Make sure you have bind-pkcs11 package
# installed.