From 072956c6a296cc9ebdc77abb3c1cd3deaff8139b Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Nov 19 2007 14:03:28 +0000 Subject: - removed statement from initscript which passes -D to named --- diff --git a/bind.spec b/bind.spec index d46368a..a9008cd 100644 --- a/bind.spec +++ b/bind.spec @@ -21,7 +21,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: ISC Version: 9.5.0 -Release: 17.%{RELEASEVER}%{?dist} +Release: 18.%{RELEASEVER}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -665,6 +665,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_sbindir}/bind-chroot-admin %changelog +* Mon Nov 19 2007 Adam Tkac 32:9.5.0-18.a7 +- removed statement from initscript which passes -D to named + * Thu Nov 15 2007 Adam Tkac 32:9.5.0-17.a7 - 9.5.0a7 - dropped patches (upstream) diff --git a/named.init b/named.init index a3498c1..e84f1af 100755 --- a/named.init +++ b/named.init @@ -42,22 +42,6 @@ if [ -n "$ROOTDIR" ]; then fi; fi -# Manage forwarders through D-BUS? -for a in $OPTIONS; do - if [ $a = "-D" ]; then - dbusEnabled=1; - fi; -done - -if [ -z $dbusEnabled ] && [ -z "$DISABLE_NAMED_DBUS" ] ; then - for l in 0 1 2 3 4 5 6; do - if /sbin/chkconfig --level=$l NetworkManager >/dev/null 2>&1; then - dbusEnabled=1; - fi; - done - [ -z $dbusEnabled ] || OPTIONS="$OPTIONS -D"; -fi; - # Check if all what named needs running start() { diff --git a/named.sysconfig b/named.sysconfig index 622b691..421dfa1 100644 --- a/named.sysconfig +++ b/named.sysconfig @@ -10,9 +10,4 @@ # OPTIONS="whatever" -- These additional options will be passed to named # at startup. Don't add -t here, use ROOTDIR instead. # -# DISABLE_NAMED_DBUS=[1y]-- If NetworkManager is enabled in any runlevel, then -# the initscript will by default enable named's D-BUS -# support with the named -D option. This setting disables -# this behavior. -# # KEYTAB_FILE="/dir/file" -- Specify named service keytab file (for GSS-TSIG)