From owner-cvs-src@FreeBSD.ORG Thu Mar 29 20:33:50 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AB7C16A4EC; Thu, 29 Mar 2007 20:33:50 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id CAC8513C458; Thu, 29 Mar 2007 20:33:49 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.8/8.13.8) with ESMTP id l2TKXme4012210; Fri, 30 Mar 2007 00:33:48 +0400 (MSD) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.8/8.13.8/Submit) id l2TKXmF4012209; Fri, 30 Mar 2007 00:33:48 +0400 (MSD) (envelope-from ache) Date: Fri, 30 Mar 2007 00:33:48 +0400 From: Andrey Chernov To: John Baldwin , Mike Makonnen , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Message-ID: <20070329203348.GA12161@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , John Baldwin , Mike Makonnen , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org References: <200703291055.l2TAtYu4038445@repoman.freebsd.org> <20070329172409.GA38703@rogue.navcom.lan> <20070329190812.GA11138@nagual.pp.ru> <200703291534.46417.jhb@freebsd.org> <20070329195857.GA11737@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070329195857.GA11737@nagual.pp.ru> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Subject: Re: cvs commit: src/etc network.subr X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 20:33:50 -0000 On Thu, Mar 29, 2007 at 11:58:57PM +0400, Andrey Chernov wrote: > On Thu, Mar 29, 2007 at 03:34:45PM -0400, John Baldwin wrote: > > The change in v1.28 fixed a similar warning where you'd get something like > > > > /etc/rc.d/dhclient: WARNING: $background_dhclient_bge0 is not set properly > > > > (where bge0 is an interface name). 1.28 fixed the warning for me, but I don't > > use background_dhclient and have none of the variables set. Maybe Andrey is > > seeing a warning in the non-default case when a variable is set? > > I have plain DHCP and don't use background_dhclient too. I wonder why > somebody have not see it. Look at this lines from v1.28: > > background_dhclient=`get_if_var $ifn background_dhclient_IF $background_dhclient` > if checkyesno background_dhclient; then > > Since background_dhclient_fxp0="" automatically set earlier, > background_dhclient evaluates to "" too. > Then checkyesno background_dhclient produces this warning. This is from defaults/rc.conf v1.306: dhclient_program="/sbin/dhclient" # Path to dhcp client program. dhclient_flags="" # Extra flags to pass to dhcp client. dhclient_flags_fxp0="" # Extra dhclient flags for fxp0 only background_dhclient="NO" # Start dhcp client in the background. background_dhclient_fxp0="" # Start dhcp client on fxp0 in the background. What those *_fxp0 doing here? -- http://ache.pp.ru/