From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 09:25:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B932D16A4CE for ; Mon, 2 Feb 2004 09:25:31 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D093D43D39 for ; Mon, 2 Feb 2004 09:25:30 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id BBB7172DC7; Mon, 2 Feb 2004 09:25:30 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id B651A72DBF; Mon, 2 Feb 2004 09:25:30 -0800 (PST) Date: Mon, 2 Feb 2004 09:25:30 -0800 (PST) From: Doug White To: Jun Kuriyama In-Reply-To: <7mvfmsbc0z.wl@black.imgsrc.co.jp> Message-ID: <20040202092444.K75181@carver.gumbysoft.com> References: <7mvfmsbc0z.wl@black.imgsrc.co.jp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Randy Bush cc: FreeBSD Current Subject: Re: /etc/rc.d/named prog name hard coded X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 17:25:31 -0000 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. > > > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org