From owner-cvs-src@FreeBSD.ORG Mon Jul 28 21:10:36 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 14C9A37B401 for ; Mon, 28 Jul 2003 21:10:35 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 0A45843FB1 for ; Mon, 28 Jul 2003 21:10:34 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 53961 invoked by uid 1000); 29 Jul 2003 04:10:36 -0000 Date: Mon, 28 Jul 2003 21:10:36 -0700 (PDT) From: Nate Lawson To: David O'Brien In-Reply-To: <20030729030426.GD8471@dragon.nuxi.com> Message-ID: <20030728210833.P53955@root.org> References: <20030728142857.A41136@cvs.imp.ch> <20030729030426.GD8471@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: Martin Blapp 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: Tue, 29 Jul 2003 04:10:36 -0000 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". -Nate