Re: /etc/rc.d/named prog name hard coded

From: Doug White <dwhite_at_gumbysoft.com>
Date: Mon, 2 Feb 2004 09:25:30 -0800 (PST)
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_at_gumbysoft.com          |  www.FreeBSD.org
Received on Mon Feb 02 2004 - 08:25:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC