[OE-core] [PATCH] base-files: Add /run/lock as a standard directory

Saul Wold sgw at linux.intel.com
Fri May 9 15:31:31 UTC 2014


On 05/09/2014 08:14 AM, Mark Hatle wrote:
> On 5/9/14, 4:16 AM, Burton, Ross wrote:
>> On 9 May 2014 00:24, Mark Hatle <mark.hatle at windriver.com> 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?
>

Ross is almost correct here, there is a link generated from via the 
volatiles file in initscripts recipe, which will be created during 
package install time.

Sau!

> --Mark
>
>> Ross
>>
>



More information about the Openembedded-core mailing list