From owner-freebsd-current@FreeBSD.ORG Sat Jan 31 03:19:59 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 76C8516A4CE for ; Sat, 31 Jan 2004 03:19:59 -0800 (PST) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 543A143D1D for ; Sat, 31 Jan 2004 03:19:58 -0800 (PST) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id 709252840AB; Sat, 31 Jan 2004 20:19:57 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 53C5928402D; Sat, 31 Jan 2004 20:19:56 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id 1CCA51E4657; Sat, 31 Jan 2004 20:19:56 +0900 (JST) Date: Sat, 31 Jan 2004 20:19:56 +0900 Message-ID: <7mvfmsbc0z.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Randy Bush In-Reply-To: References: User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 X-Mailman-Approved-At: Sat, 31 Jan 2004 05:11:53 -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: Sat, 31 Jan 2004 11:19:59 -0000 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... -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project