Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2003 21:10:36 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        David O'Brien <obrien@FreeBSD.org>
Cc:        src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/etc/defaults rc.conf src/etc/rc.d dhclient
Message-ID:  <20030728210833.P53955@root.org>
In-Reply-To: <20030729030426.GD8471@dragon.nuxi.com>
References:  <Pine.NEB.3.96L.1030728081506.56734B-100000@fledge.watson.org> <20030728142857.A41136@cvs.imp.ch> <20030729030426.GD8471@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Jul 2003, David O'Brien wrote:
> On Mon, Jul 28, 2003 at 02:34:03PM +0200, Martin Blapp wrote:
> > The problem here is that a box not connected to lan with dhcp hangs till
> > you press CTRL C.
>
> So?  That is how DHCP works.  I added the "-1" option so it will time
> out.  Experience using SuSE which does background its dhcp client, I
> think this change is a mistake.  Please back that part out.

I agree that always backgrounding the client provides some more
complicated boot serialization and is not always desirable.  However, I
don't see any reason why if there is no link dhclient should not
immediately go into the background or terminate if that makes you happier.
There is no timeout that is correct for "no link".

-Nate



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