bind-9 changeover committed.

Matthew Dillon dillon at apollo.backplane.com
Mon May 31 10:42:53 PDT 2004


:/etc/rc.d/named stop can't find the pid with chroot enabled;
:how about this for a patch:
:
:RCS file: /home/dcvs/src/etc/rc.d/named,v
:retrieving revision 1.4
:diff -u -r1.4 named
:--- src/etc/rc.d/named  27 May 2004 18:15:40 -0000      1.4
:+++ src/etc/rc.d/named  30 May 2004 01:33:28 -0000
:@@ -38,6 +38,6 @@
: # The following variable requires that rc.conf be loaded first
: #
: required_dirs="$named_chrootdir"       # if it is set, it must exist
:-pidfile="${named_pidfile:-/var/run/${name}.pid}"
:+pidfile="${named_chrootdir}${named_pidfile:-/var/run/${name}.pid}"
:
: run_rc_command "$1"

    Looks good, I'll commit it!

:as far as named.restart, would it make sense to have it exec
:/etc/rc.d/named restart as opposed to having duplicated code?
:
:-Brad

    Or we might just be able to use the rc helper utilities, which do
    exactly that.  e.g.  'rcrestart named'.... yup, that seems to work.
    I'll make the change.

					-Matt





More information about the Submit mailing list