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

Randy Bush randy at psg.com
Mon Feb 2 09:30:20 PST 2004


>>> 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.

randy



More information about the freebsd-current mailing list