From owner-freebsd-current@FreeBSD.ORG Mon Feb 2 09:30:19 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 E138016A4CE for ; Mon, 2 Feb 2004 09:30:19 -0800 (PST) Received: from ran.psg.com (ip166.usw253.dsl-acs2.sea.iinet.com [209.20.253.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4753E43D2D for ; Mon, 2 Feb 2004 09:30:18 -0800 (PST) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=ran.psg.com) by ran.psg.com with esmtp (Exim 4.24; FreeBSD) id 1Anhtp-0008Er-KV; Mon, 02 Feb 2004 09:30:17 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Doug White References: <7mvfmsbc0z.wl@black.imgsrc.co.jp> <20040202092444.K75181@carver.gumbysoft.com> Message-Id: Date: Mon, 02 Feb 2004 09:30:17 -0800 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:30:20 -0000 >>> 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. randy