From 07f638c0baf3854478d71aff8068c60cf4a8111c Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Tue, 24 Jul 2012 23:19:23 +0200 Subject: [PATCH] rc.d/netif: Require cleanvar. Before the ipfilter removal, netif required ipfilter, which required ipmon, which required cleanvar. In other words, cleanvar was run before netif. With the ipfilter requirement removed from netif, cleanvar was now ordered at some place after netif, which caused the PID file and control socket of wpa_supplicant(8) (which is started by netif if an ifconfig_xxx="WPA" line is found in /etc/rc.conf) to be removed from /var/run by cleanvar after they were created. This caused trouble for wpa_cli(8), which needs the socket. Found-by: Johannes Hofmann --- etc/rc.d/netif | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.d/netif b/etc/rc.d/netif index b37882b726..1aae6f95d3 100644 --- a/etc/rc.d/netif +++ b/etc/rc.d/netif @@ -26,7 +26,7 @@ # # PROVIDE: netif -# REQUIRE: atm1 mountcritlocal serial sppp sysctl tty +# REQUIRE: atm1 cleanvar mountcritlocal serial sppp sysctl tty . /etc/rc.subr . /etc/network.subr -- 2.41.0