Ctrl-c abort of dhclient during rc.d start aborts all network configuration

Robert Watson rwatson at FreeBSD.org
Wed Aug 31 11:10:45 GMT 2005


I believe this is related to the new dhclient -- when I run my notebook 
disconnected from the network, the boot pauses for about 15-20 seconds 
waiting for a link on xl0.  Being impatient when booting in airports just 
before my flight, I like to hit Ctrl-C and abort it, since I know that 
there will be no link.  In the old world order, this was fine, dhclient 
was simply killed and all was good.  In the new world order, it kills all 
of the netif startup script, and for some reason (ordering related, 
presumably), this prevents 127.0.0.1 from being configured on lo0, which 
causes a number of applications to die, since 0.0.0.0 cannot be bound.  It 
sounds like a couple of things are unfortunate here:

(1) It would be good to configure lo0 first.
(2) If a dhclient is ctrl-c'd, it would be nice if the rest of the network
     configuration continued.

The printing of '.'s in dhclient is also a bit excessive.

Robert N M Watson


More information about the freebsd-current mailing list