From owner-freebsd-rc@FreeBSD.ORG Mon Apr 26 08:21:26 2010 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B81D106566B for ; Mon, 26 Apr 2010 08:21:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 466598FC08 for ; Mon, 26 Apr 2010 08:21:26 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta08.emeryville.ca.mail.comcast.net with comcast id A86v1e0011afHeLA888HJc; Mon, 26 Apr 2010 08:08:17 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta17.emeryville.ca.mail.comcast.net with comcast id A88G1e0033S48mS8d88Gvy; Mon, 26 Apr 2010 08:08:16 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 2A7749B425; Mon, 26 Apr 2010 01:08:15 -0700 (PDT) Date: Mon, 26 Apr 2010 01:08:15 -0700 From: Jeremy Chadwick To: freebsd-rc@freebsd.org Message-ID: <20100426080815.GA41938@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-net@freebsd.org Subject: rc(8) script -- waiting for the network to become usable X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 08:21:26 -0000 Foremost, sorry for the cross-post, but more eyes in this case means overall more discussion. Secondly, please keep me CC'd as I'm not on either -rc or -net. I recently proposed addition of a new script to the rc framework which verifies (using ping) that layer 3 network connectivity is up/functional before continuing on with daemons which require network access: http://lists.freebsd.org/pipermail/freebsd-stable/2010-April/056400.html The overall response was positive, with full acknowledgement that this is indeed a hack -- yet necessary -- and that something more appropriate could probably be introduced into the base system to provide a much cleaner solution (launchd was mentioned). I'd like folks (particularly on -rc) to chime in here, and please see about adding this to the base system. Please note there's one typo in the script (a line which needs to be commented out) in my original post which I've since fixed in the version that's available via HTTP. Thank you! -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |