onsdagen den 24 september 2003 00.08 skrev Luca Berra: > On Tue, Sep 23, 2003 at 11:47:31PM +0200, Oden Eriksson wrote: > >tisdagen den 23 september 2003 20.10 skrev Oden Eriksson: > >> Hi. > >> > >> Anyone else seing this: > >> > >> # /etc/rc.d/init.d/named restart > >> Stopping named: [FAILED] > >> Starting named: [ OK ] > > i never used bind-chroot myself > anyway reading /etc/rc.d/init.d/function i found this piece of code in > killproc function. > > > # Avoid killing processes not running in the same root > [ -n "$pid" ] && pid="`inmyroot $pid`" > > > this might be the culprit.
Aha, maybe that's why. This is a bug that has to be fixed before 9.2. > why don't we use rndc stop in the initscript for named? That works. > besides > bind-chroot scripts removes rndc conf from /etc, so root cannot use > rndc anymore. great idea!!! It moves the file to the chroot /etc/ dir. You have to call it like: "rndc -c /var/lib/named-chroot/etc/rndc.conf stop"