From owner-cvs-src@FreeBSD.ORG Tue Jul 29 00:32:34 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 3222737B404; Tue, 29 Jul 2003 00:32:34 -0700 (PDT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C79943FAF; Tue, 29 Jul 2003 00:32:32 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.9/8.12.8) with ESMTP id h6T7WMDo017251; Tue, 29 Jul 2003 17:02:24 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Robert Watson , Martin Blapp Date: Tue, 29 Jul 2003 17:02:21 +0930 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307291702.21992.doconnor@gsoft.com.au> X-Spam-Score: -1.5 () CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: cvs-src@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 07:32:34 -0000 On Monday 28 July 2003 22:18, Robert Watson wrote: > > 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. > > This is something we'll probably want to play by ear -- trading off boot > time and making sure that the right services are there to support various > kinds of activities. I think part of the real solution is likely to > improve the behavior of some of our applications in the presence of > changing network configuration. A few more apps probably need to learn > about routing sockets so they can pick up IP address change notifications, > interface arrival/departure, etc. Hmm, I think the main culprit is changing hostname.. This has been my experience with X (hello xhost +localhost !) and a few other apps (eg, the KDE sound server seems to have an unhealthy obsession with hostnames). There is also the problem that the resolver information goes out of date if you change networks (this is a big problem if you suspend/resume). I did try a patch which claimed to get libc to reread the resolver information for each query if a certain env. var was set, but I couldn't get it to work :( There are other problems like web proxy settings (I use 'oops' and tell my web browsers localhost is the proxy). -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5