Date: Tue, 06 Jun 2006 07:06:35 +0200 From: Nick Hibma <n_hibma@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/98577: the link check by dhclient slows down booting on a laptop Message-ID: <1149570395.056129.1144.nullmailer@van-laarhoven.org> Resent-Message-ID: <200606060530.k565UH3E093185@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98577 >Category: bin >Synopsis: the link check by dhclient slows down booting on a laptop >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 06 05:30:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Nick Hibma >Release: FreeBSD 6.1-RC i386 >Organization: >Environment: System: FreeBSD hind.van-laarhoven.org 6.1-RC FreeBSD 6.1-RC #15: Tue May 30 12:01:11 CEST 2006 root@hind.van-laarhoven.org:/usr/src/sys/i386/compile/HIND i386 >Description: Dhclient is nowadays waiting for the link to come up before continuing. That makes the -b (become a daemon immediately) less useful. Ctrl-C at that point makes the whole rc.d script fail. >How-To-Repeat: Set background_dhclient="YES" in rc.conf, remove ethernet plug (I assume that it is a rl0 iface) and run /etc/rc.d/netif restart rl0 Notice the long wait. >Fix: Move the checking for link (/usr/src/sbin/dhclient/dhclient.c) after the first go_daemon case. Problems might be chroot and fork_privchild. Untested. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1149570395.056129.1144.nullmailer>
