From owner-freebsd-current@FreeBSD.ORG Mon Aug 17 03:37:32 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 406DF106568B for ; Mon, 17 Aug 2009 03:37:32 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id C25208FC41 for ; Mon, 17 Aug 2009 03:37:31 +0000 (UTC) Received: (qmail 7052 invoked by uid 399); 17 Aug 2009 03:37:25 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 17 Aug 2009 03:37:25 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A88D06F.2000408@FreeBSD.org> Date: Sun, 16 Aug 2009 20:37:19 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.22 (X11/20090729) MIME-Version: 1.0 To: David Wolfskill References: <90E06EA7-4D27-411C-962F-BBCB6D6A13C6@mac.com> <4A88C31C.70204@haruhiism.net> <20090817025829.GH74242@bunrab.catwhisker.org> In-Reply-To: <20090817025829.GH74242@bunrab.catwhisker.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: rc(8) regression. What's the story? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 03:37:32 -0000 David Wolfskill wrote: > * Create a new rc.d script that sleeps until an IP address is assigned. > > I think the latter would be most flexible, as the appropriate keywords > could be specified for precisely those rc.d/* scripts that actually need > an IP address in order to function, though implementing it might > engender rather more churn in /etc/rc.d/* than folks might prefer. This is definitely the preferred solution, and has been discussed in the past on the rc.d list. One way to implement this would be to specify a default address to ping, and make it overridable, similar to how I did the named_wait feature. Bonus points if the user has ntpd enabled and we can pick one of the server lines from ntp.conf at random. Doug -- This .signature sanitized for your protection