From owner-freebsd-stable@FreeBSD.ORG Fri Aug 27 08:00:04 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 09F6C1065697 for ; Fri, 27 Aug 2010 08:00:03 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id BA6F08FC14 for ; Fri, 27 Aug 2010 08:00:01 +0000 (UTC) Received: by qyk4 with SMTP id 4so2917882qyk.13 for ; Fri, 27 Aug 2010 01:00:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.26.87 with SMTP id d23mr132741qac.124.1282894134708; Fri, 27 Aug 2010 00:28:54 -0700 (PDT) Received: by 10.229.7.131 with HTTP; Fri, 27 Aug 2010 00:28:54 -0700 (PDT) X-Originating-IP: [91.14.62.192] In-Reply-To: <4C716382.3040605@bsdforen.de> References: <4C716382.3040605@bsdforen.de> Date: Fri, 27 Aug 2010 09:28:54 +0200 Message-ID: From: Bernhard Schmidt To: Dominic Fandrey Content-Type: text/plain; charset=ISO-8859-1 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 08:00:04 -0000 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 .. -- Bernhard