Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2007 09:20:28 -0700
From:      pete@mu.org
To:        freebsd-bugs@freebsd.org
Subject:   /etc/rc.d/named in 6.2 now breaks other nameds
Message-ID:  <20070905162028.GA13377@mu.org>

next in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070905162028.GA13377>