From owner-freebsd-stable@FreeBSD.ORG Fri Aug 27 07:36:22 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 CA09E10656A4 for ; Fri, 27 Aug 2010 07:36:22 +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 8A2DB8FC18 for ; Fri, 27 Aug 2010 07:36:22 +0000 (UTC) Received: from mobileKamikaze.norad (unknown [92.117.63.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 5882A8A255B; Fri, 27 Aug 2010 09:36:19 +0200 (CEST) Message-ID: <4C776AEE.7070309@bsdforen.de> Date: Fri, 27 Aug 2010 09:36:14 +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> In-Reply-To: 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: Fri, 27 Aug 2010 07:36:22 -0000 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. 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?