editing rc.d/named?

Mark Andrews Mark_Andrews at isc.org
Mon Jan 5 00:09:39 UTC 2009


Unless FreeBSD has changed things in 7.1 you should be able to just
specify the program in rc.conf

/etc/rc.conf:
named_program="/usr/local/sbin/named"

Mark

In message <A799B29C047346C3AB8EC9D1531DF973 at andrewPC>, "bind user" writes:
> This is a multi-part message in MIME format.
> 
> --===============0727117690046670366==
> Content-Type: multipart/alternative;
> 	boundary="----=_NextPart_000_00D5_01C96E9D.2F3C94B0"
> 
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_00D5_01C96E9D.2F3C94B0
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> Hi All: I installed 9.6.0 alongside FreeBSD7's default 9.4.2, and it's =
> working fine when i start it manually, but I'm having trouble getting it =
> to start automatically. I edited etc/rc.d/named to:
> 
>     command=3D"/usr/local/sbin/named -c /etc/namedb/named.conf"
> 
> but when I restart the server, the default 9.4.2 install in =
> /usr/sbin/named starts instead of the path to 9.6 above?
> ------=_NextPart_000_00D5_01C96E9D.2F3C94B0
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.6001.18183" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi All: I installed 9.6.0 alongside =
> FreeBSD7's=20
> default 9.4.2, and it's working fine when i start it manually, but I'm =
> having=20
> trouble getting it to start automatically. I edited etc/rc.d/named=20
> to:</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> <DIV><FONT face=3DArial size=3D2>    =
> command=3D"/usr/local/sbin/named=20
> -c /etc/namedb/named.conf"<BR></FONT><FONT face=3DArial =
> size=3D2></DIV></FONT><FONT=20
> face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2></FONT>
> <DIV><FONT face=3DArial size=3D2>but when I restart the server, the =
> default 9.4.2=20
> install in /usr/sbin/named starts instead of the path to 9.6=20
> above?</FONT></DIV></BODY></HTML>

> ------=_NextPart_000_00D5_01C96E9D.2F3C94B0--
> 
> 
> --===============0727117690046670366==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> --===============0727117690046670366==--
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list