/etc/rc.d/named prog name hard coded
Melvyn Sopacua
freebsd-current at webteckies.org
Tue Feb 3 02:23:29 PST 2004
On Monday 02 February 2004 18:25, Doug White wrote:
> 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.
I've sent a patch and am running with that for a few weeks without problems
and a fully working bind9-base port. conf/61647.
--
Melvyn
=======================================================
FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18
CET 2004
root at sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG
i386
=======================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040203/f810e4d7/attachment-0001.bin
More information about the freebsd-current
mailing list