From owner-cvs-src@FreeBSD.ORG Mon Jul 28 05:34:08 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 BD16037B404; Mon, 28 Jul 2003 05:34:08 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7CD243F3F; Mon, 28 Jul 2003 05:34:06 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h6SCY318096647; Mon, 28 Jul 2003 14:34:04 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by nbs.imp.ch (8.12.8/8.12.3) with ESMTP id h6SCY3lH7206212; Mon, 28 Jul 2003 14:34:03 +0200 (MES) Date: Mon, 28 Jul 2003 14:34:03 +0200 (CEST) From: Martin Blapp To: Robert Watson In-Reply-To: Message-ID: <20030728142857.A41136@cvs.imp.ch> References: 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: Mon, 28 Jul 2003 12:34:09 -0000 Hi Robert, > Forgive me for not having time to go read the dhclient details, but > unfortunately I'm a bit pressed for time this morning. I just wanted to > confirm that dhclient gives a "first reasonable try" if the link is up in > this situation, rather than immediately backgrounding, since some services > will behave poorly if they don't find IP addresses, etc. Ie., this > operates like the NFS mount background option: "If at first you don't > succeed, try again on your *own* time". > > The services I have in mind are, indeed, network file system mounting, > sandboxed named, sendmail, and third party applications that like to bind > each IP address manually rather than use INADDR_ANY. and natd (where I've fixed the rc script to work with the dhclient case) The problem here is that a box not connected to lan with dhcp hangs till you press CTRL C. If this change provides errors in some setups, I'll revert it and add a option to dhclient to wait at least 5 seconds if no lease has been aquired. Martin