- removed statement from initscript which passes -D to named
This commit is contained in:
parent
31f7ce1b8b
commit
072956c6a2
@ -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 <atkac redhat com> 32:9.5.0-18.a7
|
||||
- removed statement from initscript which passes -D to named
|
||||
|
||||
* Thu Nov 15 2007 Adam Tkac <atkac redhat com> 32:9.5.0-17.a7
|
||||
- 9.5.0a7
|
||||
- dropped patches (upstream)
|
||||
|
16
named.init
16
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()
|
||||
{
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user