From owner-freebsd-current@FreeBSD.ORG Thu Apr 17 08:30:23 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 139BA72B; Thu, 17 Apr 2014 08:30:23 +0000 (UTC) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B87AD1AA6; Thu, 17 Apr 2014 08:30:22 +0000 (UTC) Received: by mail-qg0-f49.google.com with SMTP id e89so110787qgf.22 for ; Thu, 17 Apr 2014 01:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Tht8RdvfKkKHpx+S9j/pdBiqPJ9h4VsvMh5/xfVXIJI=; b=pE5EppkP7QR6giLA+T0wE6ZYVxLZmn7yZfKQynaL3Iao9ocDVEYmdf/Vx0ZELlmwr4 Z1CRZ7SdOPZDPvIUva6kSeB7NTsug3pvUDokZUoLtlzquYRVIqktAU1jftz3rgRH+Zwy N+VOh88DqRSaFlOwiCm55La32OOdV+yfE9btoojgmMZqDCtwiKg9AnzaEqkS7nCZvXH+ chzqhkwClrF8lKhMjEvHhNOBBsdMQ9h94eAPlmShTHGLRKw9aQl/Pylr4dgtR0vY9REw rHwILHbRCd9fvfHl39TherFkLz11SCxbg8ptB9mjX750kwhdsvq3Td4lobACtFiCXEzr T6rA== MIME-Version: 1.0 X-Received: by 10.224.47.130 with SMTP id n2mr10924566qaf.26.1397723421861; Thu, 17 Apr 2014 01:30:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Thu, 17 Apr 2014 01:30:21 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Apr 2014 01:30:21 -0700 X-Google-Sender-Auth: kOEQOBPE9pOf_sqYZ8ElUDTcI8I Message-ID: Subject: Re: Ordering for network-sensitive rc scripts From: Adrian Chadd To: David Chisnall Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "FreeBSD-CURRENT@freebsd.org Current" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 17 Apr 2014 08:30:23 -0000 Can't we add a devd hook to do that? -a On 17 April 2014 01:21, David Chisnall wrote: > Hi all, > > For a little while, I've had an issue with the machine that sits on the e= dge 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 a= nd 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 r= outing packets off the network. > > Do we have a mechanism for stating that certain services should not be st= arted until ALL of the interfaces are up, rather than just the first one? = Or even of restarting them when a new network appears? > > David > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "