Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2004 09:25:30 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: /etc/rc.d/named prog name hard coded
Message-ID:  <20040202092444.K75181@carver.gumbysoft.com>
In-Reply-To: <7mvfmsbc0z.wl@black.imgsrc.co.jp>
References:  <E1Amp09-000Oyk-N6@psg.com> <7mvfmsbc0z.wl@black.imgsrc.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Jan 2004, Jun Kuriyama wrote:

> At Sat, 31 Jan 2004 06:53:52 +0000 (UTC),
> Randy Bush wrote:
> > despite /etc/defaults/rc.conf having
> >
> >     named_program="/usr/sbin/named"     # path to named, if you want a different one.
> >
> > /etc/rc.d/named has hard coded
> >
> >     command="/usr/sbin/${name}"
>
> $named_program overrides $command when it is defined before calling
> run_rc_command().  I don't know why $command is defined in this way in
> /etc/rc.d/named...

That script has other problems, in particular it hardcodes the arguments
to
named even if you override them.  This breaks bind9 since -g isn't a valid
option there.

>
>
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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