Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 11:17:34 -0800
From:      Doug Barton <DougB@FreeBSD.org>
To:        Randy Bush <randy@psg.com>
Cc:        kuriyama@FreeBSD.org
Subject:   Re: /etc/rc.d/named prog name hard coded
Message-ID:  <4054AFCE.6050901@FreeBSD.org>
In-Reply-To: <E1Anhtp-0008Er-KV@ran.psg.com>
References:  <E1Amp09-000Oyk-N6@psg.com>	<7mvfmsbc0z.wl@black.imgsrc.co.jp> <20040202092444.K75181@carver.gumbysoft.com> <E1Anhtp-0008Er-KV@ran.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
> 
> 
> i know only too well.  suckarama.

Took me longer than I'd hoped to get to this, but I just fixed these,
and a couple other problems. There is more work to be done, but at least
it's no longer obviously broken.

Doug

-- 

    This .signature sanitized for your protection



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