From owner-freebsd-stable@FreeBSD.ORG Tue Sep 7 07:01:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 035DB10656C5 for ; Tue, 7 Sep 2010 07:01:25 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id B3BD98FC0A for ; Tue, 7 Sep 2010 07:01:24 +0000 (UTC) Received: from mobileKamikaze.norad (unknown [46.114.201.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 64C9B8A265A; Tue, 7 Sep 2010 09:01:22 +0200 (CEST) Message-ID: <4C85E33E.4060504@bsdforen.de> Date: Tue, 07 Sep 2010 09:01:18 +0200 From: Dominic Fandrey User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-GB; rv:1.9.1.11) Gecko/20100722 Thunderbird/3.0.6 MIME-Version: 1.0 To: Bernhard Schmidt References: <4C716382.3040605@bsdforen.de> <4C776AEE.7070309@bsdforen.de> <201009070850.06584.bschmidt@techwires.net> In-Reply-To: <201009070850.06584.bschmidt@techwires.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: wpa_supplicant does not create pidfile X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 07:01:25 -0000 On 07/09/2010 08:50, Bernhard Schmidt wrote: > On Friday, August 27, 2010 09:42:30 Bernhard Schmidt wrote: >> On Fri, Aug 27, 2010 at 09:36, Dominic Fandrey wrote: >>> On 27/08/2010 09:28, Bernhard Schmidt wrote: >>>> On Sun, Aug 22, 2010 at 19:50, Dominic Fandrey > 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. > No, doesn't work. The named and ppp directories also don't exist. Sorry about the delay. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?