summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2007-12-27 14:48:08 +0000
committerAdam Tkac <atkac@fedoraproject.org>2007-12-27 14:48:08 +0000
commitdb4115971af667011daa8c443ed9d8eda2ade2a4 (patch)
treef1040fa1ee3beeb260893227ce910f30c38a5b14
parentd3331f51d6803a77f5b03bf9cce1b56eca493654 (diff)
- fixed initscript wait loop (#426382)
-rw-r--r--bind.spec7
-rwxr-xr-xnamed.init2
2 files changed, 6 insertions, 3 deletions
diff --git a/bind.spec b/bind.spec
index e4d527b..ff9c1c6 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: 21.%{RELEASEVER}%{?dist}
+Release: 22.%{RELEASEVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -418,7 +418,7 @@ for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.int
echo '@ in soa localhost. root 1 3H 15M 1W 1D
ns localhost.' > sample/var/named/$f;
done
-/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.236 2007/12/20 13:48:07 atkac Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
+/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.237 2007/12/27 14:48:08 atkac Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
*\
* NOTE: you only need to create this file if it is to\
* differ from the following default contents:
@@ -678,6 +678,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/bind-chroot-admin
%changelog
+* Thu Dec 27 2007 Adam Tkac <atkac redhat com> 32:9.5.0-22.b1
+- fixed initscript wait loop (#426382)
+
* Thu Dec 20 2007 Adam Tkac <atkac redhat com> 32:9.5.0-21.b1
- fixed regression caused by libidn2 patch (#426348)
diff --git a/named.init b/named.init
index dff9a04..0629f2e 100755
--- a/named.init
+++ b/named.init
@@ -144,7 +144,7 @@ stop() {
timeout=0
RETVAL=0
- while [ `/sbin/pidof -o %PPID "$named" >/dev/null` ]; do
+ while /sbin/pidof -o %PPID "$named" >/dev/null; do
if [ $timeout -ge $NAMED_SHUTDOWN_TIMEOUT ]; then
RETVAL=1
break