cvs commit: src/etc/defaults rc.conf src/etc/rc.d dhclient

M. Warner Losh imp at bsdimp.com
Mon Jul 28 21:25:28 PDT 2003


In message: <20030728210833.P53955 at root.org>
            Nate Lawson <nate at root.org> writes:
: 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".

Because it takes some small delta for the link to come up for many
interfaces.  The link is usually brought up as part of dhclient's
processing.  If you don't allow at least a small delta of time to pass
before declaring no link, then you'll find that you have lots of
issues as if you'd just kicked dhclient into the background.

With these changes, I'll be able to plug my minipci card back into my
dell :-)

Warner


More information about the cvs-src mailing list