From dd1c37e33f58d290d8436bc9b1f8706c3d90e27f Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Thu, 27 Dec 2007 14:47:47 +0000 Subject: [PATCH] - fixed initscript wait loop (#426382) --- bind.spec | 5 ++++- named.init | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bind.spec b/bind.spec index 4a1f4c3..8cd8e8a 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: 22.%{RELEASEVER}%{?dist} +Release: 23.%{RELEASEVER}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -660,6 +660,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_sbindir}/bind-chroot-admin %changelog +* Thu Dec 27 2007 Adam Tkac 32:9.5.0-23.b1 +- fixed initscript wait loop (#426382) + * Thu Dec 20 2007 Adam Tkac 32:9.5.0-22.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