summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dns/bind/ChangeLog5
-rw-r--r--net-dns/bind/files/named.init-r94
2 files changed, 6 insertions, 3 deletions
diff --git a/net-dns/bind/ChangeLog b/net-dns/bind/ChangeLog
index 02ef9da1f23d..0212706610f1 100644
--- a/net-dns/bind/ChangeLog
+++ b/net-dns/bind/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/bind
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.305 2010/12/13 22:08:53 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.306 2010/12/15 23:35:09 idl0r Exp $
+
+ 15 Dec 2010; Christian Ruppert <idl0r@gentoo.org> files/named.init-r9:
+ Rework the fuser call.
*bind-9.7.2_p3-r2 (13 Dec 2010)
*bind-9.6.2_p3-r2 (13 Dec 2010)
diff --git a/net-dns/bind/files/named.init-r9 b/net-dns/bind/files/named.init-r9
index be4d7b224525..a962984f399f 100644
--- a/net-dns/bind/files/named.init-r9
+++ b/net-dns/bind/files/named.init-r9
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r9,v 1.1 2010/12/13 22:08:54 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r9,v 1.2 2010/12/15 23:35:09 idl0r Exp $
opts="start stop reload restart checkconfig checkzones"
@@ -162,7 +162,7 @@ stop() {
ebegin "Umounting chroot dirs"
# just to be sure everything gets clean
- while [ -n "$(fuser ${CHROOT} 2>/dev/null)" ]; do
+ while fuser -s ${CHROOT} 2>/dev/null; do
if [ "${reported}" -eq 0 ]; then
einfo "Waiting until all named processes are stopped"
reported=1