Re: wpa_supplicant does not create pidfile

看板FB_stable作者時間15年前 (2010/09/07 15:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/12 (看更多)
On Friday, August 27, 2010 09:42:30 Bernhard Schmidt wrote: > On Fri, Aug 27, 2010 at 09:36, Dominic Fandrey <kamikaze@bsdforen.de> wrote: > > On 27/08/2010 09:28, Bernhard Schmidt wrote: > >> On Sun, Aug 22, 2010 at 19:50, Dominic Fandrey <kamikaze@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 > >> .. > > > > Is the mtree built every time the system boots? Because my /var/run > > is a tmpfs. And even if it wasn't, I think it's wiped every boot > > any way. > > Not build but, according to /etc/rc.d/var mtree is run on every boot. > I actually tried that and it works just fine. Did you have a chance to try this? Given positive feedback I'd like to commit it. -- Bernhard _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1CXUClnH (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1CXUClnH (FB_stable)