summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-05-12 23:19:40 +0000
committerRoy Marples <uberlord@gentoo.org>2007-05-12 23:19:40 +0000
commit57d3cdb9dd184a15c6dcb55f0415969a5333cf42 (patch)
treeccf9f6be33271533214e0f7cc31c6a1f8e1d99cc /net-dns
parentversion bump (diff)
downloadgentoo-2-57d3cdb9dd184a15c6dcb55f0415969a5333cf42.tar.gz
gentoo-2-57d3cdb9dd184a15c6dcb55f0415969a5333cf42.tar.bz2
gentoo-2-57d3cdb9dd184a15c6dcb55f0415969a5333cf42.zip
Fix chroots for non bash shells, #178050 thanks to Pierre Guinoiseau.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind/ChangeLog5
-rwxr-xr-xnet-dns/bind/files/named.init-r44
2 files changed, 6 insertions, 3 deletions
diff --git a/net-dns/bind/ChangeLog b/net-dns/bind/ChangeLog
index 44d20676f95c..163a98154153 100644
--- a/net-dns/bind/ChangeLog
+++ b/net-dns/bind/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/bind
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.163 2007/05/12 08:19:52 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.164 2007/05/12 23:19:40 uberlord Exp $
+
+ 12 May 2007; Roy Marples <uberlord@gentoo.org> files/named.init-r4:
+ Fix chroots for non bash shells, #178050 thanks to Pierre Guinoiseau.
12 May 2007; Joshua Kinard <kumba@gentoo.org> bind-9.3.3.ebuild:
Stable on mips.
diff --git a/net-dns/bind/files/named.init-r4 b/net-dns/bind/files/named.init-r4
index 7e18d89d8f5e..aa2b2162df55 100755
--- a/net-dns/bind/files/named.init-r4
+++ b/net-dns/bind/files/named.init-r4
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r4,v 1.1 2006/10/22 18:05:21 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/files/named.init-r4,v 1.2 2007/05/12 23:19:40 uberlord Exp $
opts="start stop reload restart"
@@ -38,7 +38,7 @@ start() {
checkconfig || return 1
start-stop-daemon --start --quiet --pidfile ${PIDFILE} \
--exec /usr/sbin/named \
- -- -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t $CHROOT}
+ -- -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t} ${CHROOT}
eend $?
}