From a5acc8cb253ea4b9ececf6bdbb5acca38020fa27 Mon Sep 17 00:00:00 2001 From: NorwegianRockCat Date: Sat, 11 Apr 2020 10:47:58 +0200 Subject: [PATCH] Ensure bridges are created before firewalls start Since the vm rc script can create bridges and since firewalls (like pf) may actually reference these bridges, make sure that the bridges are created before we start them. This makes the firewalls fail to start because an interface is missing. --- rc.d/vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.d/vm b/rc.d/vm index ce4f3a0..caada6c 100644 --- a/rc.d/vm +++ b/rc.d/vm @@ -4,7 +4,7 @@ # PROVIDE: vm # REQUIRE: NETWORKING SERVERS dmesg -# BEFORE: dnsmasq +# BEFORE: dnsmasq ipfw pf # KEYWORD: shutdown nojail . /etc/rc.subr