Summary: | net-dns/bind/bind-9.2.2.ebuild named init.d script unable to STOP chroot bind | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Baelbouga <gentoo> |
Component: | New packages | Assignee: | Stewart (RETIRED) <blkdeath> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | major | CC: | lostlogic |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic.php?p=370795 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Baelbouga
2003-10-15 09:17:30 UTC
This change will provide the desired results and not effect the non-chroot'ed environment. *** named.bak Wed Sep 17 12:59:53 2003 --- named Wed Oct 15 10:26:32 2003 *************** *** 23,27 **** if [ $CHROOT -a -d $CHROOT ] ; then ! PIDFILE="${CHROOT}/var/run/named/named.pid" KEY="${CHROOT}/etc/bind/rndc.key" else --- 23,27 ---- if [ $CHROOT -a -d $CHROOT ] ; then ! PIDFILE="${CHROOT}/var/run/named.pid" KEY="${CHROOT}/etc/bind/rndc.key" else *************** *** 39,43 **** stop() { ! ebegin "Stopping named" checkconfig || return 2 start-stop-daemon --stop --quiet --pidfile $PIDFILE --- 39,43 ---- stop() { ! ebegin "Stopping ${CHROOT:+chrooted }named" checkconfig || return 2 start-stop-daemon --stop --quiet --pidfile $PIDFILE Everything seems to be in order. Please update or re-install BIND and test. Fixed in CVS. I was finally able to test the fix with a clean install. Works great! No need to modify anything to start or stop named. No new reports of problems, and the cause was fairly obvious, so I'm closing this one. |