From: Nirbheek Chauhan <nirbheek@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: use of the /run directory
Date: Mon, 23 May 2011 12:35:12 +0530 [thread overview]
Message-ID: <BANLkTi=N+_5uptxipsL8G60ypPrwazEgvg@mail.gmail.com> (raw)
In-Reply-To: <20110523073037.43efad50@googlemail.com>
On Mon, May 23, 2011 at 12:00 PM, Ciaran McCreesh
<ciaran.mccreesh@googlemail.com> wrote:
> On Tue, 17 May 2011 19:12:38 -0500
> William Hubbs <williamh@gentoo.org> wrote:
>> On Tue, May 17, 2011 at 11:50:32PM +0100, Ciaran McCreesh wrote:
>> > I would be interested to hear how you plan to do the migration,
>> > given that everyone else has managed to screw it up...
>>
>> I'm not sure what you mean here. Openrc git will mount a tmpfs on /run
>> if it exists and create a lock directory inside the tmpfs.
>>
>> To make it work, I just need a new release of baselayout to make the
>> /run directory. Then, I also need to figure out where in the boot
>> process to make the symbolic links from /var/lock to /run/lock and
>> from /var/run to /run.
>> what else am I missing?
>
> The problem is that packages that have things installed to the old
> directories are going to get confused when upgraded if things have been
> moved around behind their backs.
>
> You may be better having both directories present, and not attempting
> to rename or move things at all. Then start fixing packages that install
> to the old directories.
>
As I understand it, that's precisely what William's plan is.
$ ls -ld /var/{lock/run}
/var/lock -> /run/lock
/var/run -> /run/
This should work transparently for all existing applications.
The only way this would fail is if they do an incorrect stat() on
/var/run and error out if it's a symbolic link. OTOH, it's precisely
to iron out such kinks that we have ~arch.
The other problem of daemons needing pre-existing directories is being
handled in https://bugs.gentoo.org/show_bug.cgi?id=332633
Cheers,
--
~Nirbheek Chauhan
Gentoo GNOME+Mozilla Team
next prev parent reply other threads:[~2011-05-23 7:06 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-17 16:57 [gentoo-dev] rfc: use of the /run directory William Hubbs
2011-05-17 18:11 ` Peter Volkov
2011-05-17 18:28 ` Nirbheek Chauhan
2011-05-17 18:43 ` Ângelo Arrifano
2011-05-17 18:50 ` Nirbheek Chauhan
2011-05-17 19:11 ` Peter Volkov
2011-05-17 19:20 ` Ângelo Arrifano
2011-05-17 19:07 ` William Hubbs
2011-05-17 20:35 ` James Cloos
2011-05-17 20:40 ` Markos Chandras
2011-05-18 0:06 ` James Cloos
2011-05-18 0:43 ` William Hubbs
2011-05-17 19:20 ` Panagiotis Christopoulos
2011-05-17 19:46 ` William Hubbs
2011-05-18 1:31 ` [gentoo-dev] " Duncan
2011-05-18 1:36 ` [gentoo-dev] " Jeroen Roovers
2011-05-18 5:49 ` Eray Aslan
2011-05-18 14:45 ` Henry Gebhardt
2011-05-18 14:51 ` Samuli Suominen
2011-05-18 15:02 ` [gentoo-dev] " Jonathan Callen
2011-05-17 19:48 ` [gentoo-dev] " Nirbheek Chauhan
2011-05-17 20:00 ` Olivier Crête
2011-05-17 20:07 ` Michał Górny
2011-05-17 20:11 ` Amadeusz Żołnowski
2011-05-17 20:23 ` Rich Freeman
2011-05-17 20:20 ` Panagiotis Christopoulos
2011-05-17 20:28 ` Michał Górny
2011-05-17 20:54 ` Olivier Crête
2011-05-17 21:00 ` Nirbheek Chauhan
2011-05-17 22:26 ` Drake Wyrm
2011-05-17 22:36 ` Marc Schiffbauer
2011-05-17 22:46 ` Nirbheek Chauhan
2011-05-18 0:06 ` William Hubbs
2011-05-17 22:50 ` Ciaran McCreesh
2011-05-18 0:12 ` William Hubbs
2011-05-23 6:30 ` Ciaran McCreesh
2011-05-23 7:05 ` Nirbheek Chauhan [this message]
2011-05-23 7:11 ` Ciaran McCreesh
2011-05-23 7:13 ` Michał Górny
2011-05-23 8:30 ` Nirbheek Chauhan
2011-05-20 8:58 ` Luca Barbato
2011-05-20 16:54 ` Mike Pagano
2011-05-22 19:13 ` Luca Barbato
2011-05-22 21:12 ` Ondřej Súkup
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='BANLkTi=N+_5uptxipsL8G60ypPrwazEgvg@mail.gmail.com' \
--to=nirbheek@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox