All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: Saul Wold <sgw@linux.intel.com>, "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] base-files: Add /run/lock as a standard directory
Date: Fri, 9 May 2014 10:50:09 -0500	[thread overview]
Message-ID: <536CF931.8070705@windriver.com> (raw)
In-Reply-To: <536CF4D3.6020701@linux.intel.com>

On 5/9/14, 10:31 AM, Saul Wold wrote:
> 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@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.

We still have the packaging issue though.  Nothing 'owns' that directory, yet 
other package(s) reference it.  At a minimum something should own it (or it 
needs to get shoved into the /etc/rpm/sysinfo/Dirnames file to show yes, the 
directory really is available.)

/proc/mounts has always been an issue since it's owned by the system, but that 
can be dealt with using the same type of this /etc/rpm/sysinfo/Providenames....

(There is a feature enhancement in the YP bugzilla to more easily support a 
persistent filesystem, vs always using the volatiles..  we probably should drop 
this for now and come back around when that is investigated.)

--Mark

> Sau!
>
>> --Mark
>>
>>> Ross
>>>
>>



  reply	other threads:[~2014-05-09 15:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08 23:24 [PATCH] base-files: Add /run/lock as a standard directory Mark Hatle
2014-05-09  9:16 ` Burton, Ross
2014-05-09 15:14   ` Mark Hatle
2014-05-09 15:31     ` Saul Wold
2014-05-09 15:50       ` Mark Hatle [this message]
2014-05-09 19:41     ` Colin Walters
2014-05-09 20:35       ` Mark Hatle
2014-05-09 20:50         ` Colin Walters

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=536CF931.8070705@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    --cc=sgw@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.