Date: Mon, 28 Jul 2003 14:34:03 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: Robert Watson <rwatson@FreeBSD.org> Cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc/defaults rc.conf src/etc/rc.d dhclient Message-ID: <20030728142857.A41136@cvs.imp.ch> In-Reply-To: <Pine.NEB.3.96L.1030728081506.56734B-100000@fledge.watson.org> References: <Pine.NEB.3.96L.1030728081506.56734B-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030728142857.A41136>