From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (unknown [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 41409605B2 for ; Fri, 9 May 2014 15:14:45 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s49FEjKs004346 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 9 May 2014 08:14:46 -0700 (PDT) Received: from Marks-MacBook-Pro.local (172.25.36.227) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.169.1; Fri, 9 May 2014 08:14:45 -0700 Message-ID: <536CF0E6.9060800@windriver.com> Date: Fri, 9 May 2014 10:14:46 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "Burton, Ross" References: <1399591490-13000-1-git-send-email-mark.hatle@windriver.com> In-Reply-To: Cc: OE-core Subject: Re: [PATCH] base-files: Add /run/lock as a standard directory X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 15:14:48 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 5/9/14, 4:16 AM, Burton, Ross wrote: > On 9 May 2014 00:24, Mark Hatle wrote: >> The /run/lock directory was being dynamically created during package install, >> but should have been owned by the base-files package. > > Doesn't do_install generate the /var/run/lock -> /run/lock symlink, as > /run is always a tmpfs so has to be populated on boot? > The /var/run/lock -> /run/lock symlink is generated, but the /run/lock is never created by anything that I could find. /run is not always a tmpfs... We've got configurations where it's persistent. With that said, the fix may be incorrect though if something is generally used to create this as a tmpfs, which package would normally create the directory and populate it? the volatiles code? --Mark > Ross >