Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2010 01:26:40 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Mark Stapper <stark@mapper.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: network deamons starting before network!
Message-ID:  <20100618082640.GB34578@icarus.home.lan>
In-Reply-To: <4C1B2180.1040300@mapper.nl>
References:  <4C1B2180.1040300@mapper.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100618082640.GB34578>