Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 10:14:02 +0100
From:      Melvyn Sopacua <freebsd-current@webteckies.org>
To:        current@FreeBSD.org
Subject:   Re: /etc/rc.d/named prog name hard coded
Message-ID:  <200402031014.06049.freebsd-current@webteckies.org>
In-Reply-To: <20040202092444.K75181@carver.gumbysoft.com>
References:  <E1Amp09-000Oyk-N6@psg.com> <7mvfmsbc0z.wl@black.imgsrc.co.jp> <20040202092444.K75181@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  
i386
=======================================================

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAH2ZdOv9JNmfFN5URAhHRAJ4xFnmT54OK4pATutfwGR9lwMlr/ACfe11a
8wfP4NZEz2X8APv/b2o3QL8=
=Ex3Z
-----END PGP SIGNATURE-----

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