Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2007 00:33:48 +0400
From:      Andrey Chernov <ache@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>, Mike Makonnen <mtm@freebsd.org>, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/etc network.subr
Message-ID:  <20070329203348.GA12161@nagual.pp.ru>
In-Reply-To: <20070329195857.GA11737@nagual.pp.ru>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070329203348.GA12161>