Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: nirbheek@g.o
Subject: Re: [gentoo-dev] rfc: use of the /run directory
Date: Mon, 23 May 2011 07:14:20
Message-Id: 20110523091322.6eddfae2@pomiocik.lan
In Reply to: Re: [gentoo-dev] rfc: use of the /run directory by Nirbheek Chauhan
1 On Mon, 23 May 2011 12:35:12 +0530
2 Nirbheek Chauhan <nirbheek@g.o> wrote:
3
4 > As I understand it, that's precisely what William's plan is.
5 >
6 > $ ls -ld /var/{lock/run}
7 > /var/lock -> /run/lock
8 > /var/run -> /run/
9 >
10 > This should work transparently for all existing applications.
11 >
12 > The only way this would fail is if they do an incorrect stat() on
13 > /var/run and error out if it's a symbolic link. OTOH, it's precisely
14 > to iron out such kinks that we have ~arch.
15
16 What if a daemon tries to do braindead compat attempt through creating
17 a pidfile in both directories?
18
19 --
20 Best regards,
21 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] rfc: use of the /run directory Nirbheek Chauhan <nirbheek@g.o>