wpa_supplicant does not create pidfile

Bernhard Schmidt bschmidt at techwires.net
Fri Aug 27 08:00:04 UTC 2010


On Sun, Aug 22, 2010 at 19:50, Dominic Fandrey <kamikaze at bsdforen.de> wrote:
> wpa_supplicant doesn't create the pidfile if the target directory
> does not exist. Because /var/run is wiped with every boot I added
> the following line to my rc.local to workaround this issue:
>
> /bin/mkdir -p /var/run/wpa_supplicant
>
> I'm running RELENG_8.

How about this?

Index: etc/mtree/BSD.var.dist
===================================================================
--- etc/mtree/BSD.var.dist>.....(revision 211568)
+++ etc/mtree/BSD.var.dist>.....(working copy)
@@ -64,6 +64,8 @@
         ..
         ppp             gname=network mode=0770
         ..
+        wpa_supplicant
+        ..
     ..
     rwho            gname=daemon mode=0775
     ..


-- 
Bernhard


More information about the freebsd-stable mailing list