From owner-cvs-src@FreeBSD.ORG Fri Mar 30 04:07:01 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 B0BF916A400; Fri, 30 Mar 2007 04:07:01 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 4B59F13C44C; Fri, 30 Mar 2007 04:07:01 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l2U470c7089491; Thu, 29 Mar 2007 23:07:00 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l2U470TB089490; Thu, 29 Mar 2007 23:07:00 -0500 (CDT) (envelope-from brooks) Date: Thu, 29 Mar 2007 23:07:00 -0500 From: Brooks Davis To: Andrey Chernov , John Baldwin , Mike Makonnen , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Message-ID: <20070330040700.GA89457@lor.one-eyed-alien.net> 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> <20070329203348.GA12161@nagual.pp.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20070329203348.GA12161@nagual.pp.ru> User-Agent: Mutt/1.5.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Thu, 29 Mar 2007 23:07:00 -0500 (CDT) 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: Fri, 30 Mar 2007 04:07:01 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 30, 2007 at 12:33:48AM +0400, Andrey Chernov wrote: > 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 > > >=20 > > > /etc/rc.d/dhclient: WARNING: $background_dhclient_bge0 is not set pro= perly > > >=20 > > > (where bge0 is an interface name). 1.28 fixed the warning for me, bu= t I don't=20 > > > use background_dhclient and have none of the variables set. Maybe An= drey is=20 > > > seeing a warning in the non-default case when a variable is set? > >=20 > > I have plain DHCP and don't use background_dhclient too. I wonder why= =20 > > somebody have not see it. Look at this lines from v1.28: > >=20 > > background_dhclient=3D`get_if_var $ifn background_dhclient_IF $backgrou= nd_dhclient` > > if checkyesno background_dhclient; then > >=20 > > Since background_dhclient_fxp0=3D"" automatically set earlier,=20 > > background_dhclient evaluates to "" too. > > Then checkyesno background_dhclient produces this warning. >=20 > This is from defaults/rc.conf v1.306: >=20 > dhclient_program=3D"/sbin/dhclient" # Path to dhcp client program. > dhclient_flags=3D"" # Extra flags to pass to dhcp client. > dhclient_flags_fxp0=3D"" # Extra dhclient flags for fxp0 only > background_dhclient=3D"NO" # Start dhcp client in the background. > background_dhclient_fxp0=3D"" # Start dhcp client on fxp0 in the=20 > background. >=20 > What those *_fxp0 doing here?=20 That's a bug. They should be commented out. -- Brooks --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGDIzjXY6L6fI4GtQRAr3nAKCpwklRlJFomixMoCdZgMniXe9i4gCeMglN hBUOWDvkgXHSOeyRcltbXzg= =zjgg -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--