/etc/rc.d/named in 6.2 now breaks other nameds
pete at mu.org
pete at mu.org
Wed Sep 5 09:49:36 PDT 2007
We've been running dual named servers for several years on FreeBSD, and
usually the /etc/rc.d/named only operates on the /usr/sbin/named. The
bind we run from /usr/local has independent start and stop scripts out
of /usr/local/etc/rc.d.
However, it appears the /etc/rc.d/named in FreeBSD 6.2 now does something that equates to a kill all, and kills any named that is running.
# Old pre 6.2 way:
Stopping named.
+ _doit=kill -TERM 82067
+ [ -n ]
+ eval kill -TERM 82067
+ kill -TERM 82067
+ _return=0
+ [ 0 -ne 0 ]
+ wait_for_pids 82067
+ _list=82067
# New 6.2 way:
Stopping named+ rndc stop
+ echo -n : rndc failed, trying killall:
: rndc failed, trying killall: + killall named
: + echo .
:
Can this be set up kill just the pid in /var/run/named/named.pid as it
used to?
Thanks,
Pete
More information about the freebsd-bugs
mailing list