Subject: port-i386/10633: DHCP client invoked too late
To: None <gnats-bugs@gnats.netbsd.org>
From: Ed Gould <ed@left.wing.org>
List: netbsd-bugs
Date: 07/19/2000 09:38:20
>Number:         10633
>Category:       port-i386
>Synopsis:       DHCP client invoked too late
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 19 09:39:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ed Gould
>Release:        snapshot 20000620-1.5
>Organization:
--
Ed Gould	 Palo Alto Advanced Development	 Compaq Computer Corp.
+1 650 853 2108	 ed@pa.dec.com			 130 Lytton Avenue
		 ed.gould@compaq.com		 Palo Alto, CA 94301
>Environment:
System: NetBSD rome 1.5B NetBSD 1.5B (ROME) #58: Sun Jul 16 22:51:16 PDT 2000 ed@rome:/usr/src/sys/arch/i386/compile/ROME i386


>Description:
	The DHCP client (dhclient) is started nearly last among the various
	servers.  This is too late if the only interface for the machine
	is managed by DHCP.

>How-To-Repeat:
	Boot a system on a DHCP network.  Watch most of the servers fail
	to open their sockets.

>Fix:

--- /etc/rc.d-netbsd/SERVERS  Fri Jun  9 19:17:23 2000
+++ /etc/rc.d/SERVERS   Mon Jul 17 23:22:10 2000
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: SERVERS
-# REQUIRE: ipmon savecore syslogd
+# REQUIRE: ipmon savecore syslogd dhclient
 
 #      This is a dummy dependancy, for early-start servers relying on
 #      some basic configuration.

>Release-Note:
>Audit-Trail:
>Unformatted: