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

--Boundary-02=_dZ2HAwpRJSykt6B
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=3D"/usr/sbin/named"     # path to named, if you wan=
t a
> > > different one.
> > >
> > > /etc/rc.d/named has hard coded
> > >
> > >     command=3D"/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=
=20
and a fully working bind9-base port. conf/61647.
=2D-=20
Melvyn

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
=46reeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:=
01:18=20
CET 2004    =20
root@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG =
=20
i386
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

--Boundary-02=_dZ2HAwpRJSykt6B
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

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

--Boundary-02=_dZ2HAwpRJSykt6B--



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