From owner-freebsd-stable@FreeBSD.ORG Fri Jun 18 08:26:44 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27DCA1065675 for ; Fri, 18 Jun 2010 08:26:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id CCAA88FC12 for ; Fri, 18 Jun 2010 08:26:42 +0000 (UTC) Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta03.westchester.pa.mail.comcast.net with comcast id XLMu1e0010EZKEL53LSjWy; Fri, 18 Jun 2010 08:26:43 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta01.westchester.pa.mail.comcast.net with comcast id XLSh1e0033S48mS3MLSi7c; Fri, 18 Jun 2010 08:26:43 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id A31139B425; Fri, 18 Jun 2010 01:26:40 -0700 (PDT) Date: Fri, 18 Jun 2010 01:26:40 -0700 From: Jeremy Chadwick To: Mark Stapper Message-ID: <20100618082640.GB34578@icarus.home.lan> References: <4C1B2180.1040300@mapper.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C1B2180.1040300@mapper.nl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: network deamons starting before network! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2010 08:26:44 -0000 On Fri, Jun 18, 2010 at 09:34:24AM +0200, Mark Stapper wrote: > Hello, > > Since updating to 8.X I noticed that network services were started > before the network was up! This is common/normal. I wrote a script (still working on getting it added to the base system) to deal with this issue. Please see: http://jdc.parodius.com/freebsd/netwait Drop this into /usr/local/etc/rc.d, chmod it 755, and read the descriptions of the variables and add the appropriate settings to rc.conf. Please be aware netwait_if only takes a single interface; you're using lagg, so I hope that when your system boots whichever interface you pick in netwait_if the one which you default to using. -- | 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 |