Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 23:07:00 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Andrey Chernov <ache@freebsd.org>, 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:  <20070330040700.GA89457@lor.one-eyed-alien.net>
In-Reply-To: <20070329203348.GA12161@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> <20070329203348.GA12161@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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