From owner-freebsd-current@FreeBSD.ORG Sun Mar 14 11:17:35 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 EBC4B16A4CE; Sun, 14 Mar 2004 11:17:35 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4A8F43D1F; Sun, 14 Mar 2004 11:17:35 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from freebsd.org (c-24-130-160-161.we.client2.attbi.com[24.130.160.161]) by comcast.net (rwcrmhc11) with ESMTP id <2004031419173501300h4i8be> (Authid: domain_name_tsar); Sun, 14 Mar 2004 19:17:35 +0000 Message-ID: <4054AFCE.6050901@FreeBSD.org> Date: Sun, 14 Mar 2004 11:17:34 -0800 From: Doug Barton Organization: http://www.freebsd.org/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040307 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Randy Bush References: <7mvfmsbc0z.wl@black.imgsrc.co.jp> <20040202092444.K75181@carver.gumbysoft.com> In-Reply-To: X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: FreeBSD Current cc: kuriyama@FreeBSD.org 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: Sun, 14 Mar 2004 19:17:36 -0000 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 know only too well. suckarama. Took me longer than I'd hoped to get to this, but I just fixed these, and a couple other problems. There is more work to be done, but at least it's no longer obviously broken. Doug -- This .signature sanitized for your protection