Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 09:21:34 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        "FreeBSD-CURRENT@freebsd.org Current" <freebsd-current@freebsd.org>
Subject:   Ordering for network-sensitive rc scripts
Message-ID:  <DA602ED0-ECBC-4A3D-8F1B-9CB80EDE12B5@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi all,

For a little while, I've had an issue with the machine that sits on the =
edge of my network deciding to start avahi as soon as a network is =
available, meaning that it then runs mDNS advertisements on the external =
interface and not the wireless one, requiring a manual restart once the =
machine boots.  I'm now seeing something similar with pf - it manages to =
start before the external interface comes up and so silently ignores all =
of the rules for routing packets off the network.

Do we have a mechanism for stating that certain services should not be =
started until ALL of the interfaces are up, rather than just the first =
one?  Or even of restarting them when a new network appears?

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DA602ED0-ECBC-4A3D-8F1B-9CB80EDE12B5>