From owner-cvs-src@FreeBSD.ORG Mon Jul 28 08:20:51 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D6BA37B401; Mon, 28 Jul 2003 08:20:51 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72DF243F3F; Mon, 28 Jul 2003 08:20:50 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h6SFKfFL000402; Mon, 28 Jul 2003 09:20:42 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 28 Jul 2003 09:18:23 -0600 (MDT) Message-Id: <20030728.091823.32310695.imp@bsdimp.com> To: mb@imp.ch From: "M. Warner Losh" In-Reply-To: <20030728145421.O41136@cvs.imp.ch> References: <20030728145421.O41136@cvs.imp.ch> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: mbr@FreeBSD.org cc: rwatson@FreeBSD.org cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc/defaults rc.conf src/etc/rc.d dhclient X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2003 15:20:52 -0000 : With dhclient, the problem is really not that bad. Within 3 seconds : you normally get the lease. Which means, that we could add a script : which checks, if the dhclient interface has a 0.0.0.0 adress (or even : check if the default route is set), and then sleeps and blocks the : boot process. The applications which really need this could rely : then on the script. And all other setups without this would boot : faster. Hmmm, if the link isn't up within 3 seconds, tossing things into the background seems to be a good compromise. Warner