Gentoo Archives: gentoo-dev

From: Henry Gebhardt <hsggebhardt@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: use of the /run directory
Date: Wed, 18 May 2011 14:46:51
Message-Id: 20110518144544.GA6260@bimsstein
In Reply to: Re: [gentoo-dev] rfc: use of the /run directory by Eray Aslan
1 On Wed, May 18, 2011 at 08:49:19AM +0300, Eray Aslan wrote:
2 > On Wed, May 18, 2011 at 03:36:48AM +0200, Jeroen Roovers wrote:
3 > > wrt /var/run on tmpfs, I recall packages installing daemons that expect
4 > > their specific directories to be present in /var/run, and that do not
5 > > play nice when that directory turns out empty, but we should be able to
6 > > work around that by creating the directory in the init.d script before
7 > > we execute the daemon.
8 >
9 > Yes. Some examples:
10 >
11 > https://bugs.gentoo.org/show_bug.cgi?id=332633
12 > https://bugs.gentoo.org/show_bug.cgi?id=334245
13 > https://bugs.gentoo.org/show_bug.cgi?id=334437
14 > https://bugs.gentoo.org/show_bug.cgi?id=342049
15 > https://bugs.gentoo.org/show_bug.cgi?id=333783
16 >
17
18 I thought I'd mention, the way systemd handles this is with an extra
19 service and configuration files in /etc/tmpfiles.d [1]. I am sure OpenRC
20 could use the same tool[2] for that.
21
22 [1] http://0pointer.de/public/systemd-man/tmpfiles.d.html
23 [2] http://0pointer.de/public/systemd-man/systemd-tmpfiles.html
24
25
26 Thanks,
27
28 Henry

Replies

Subject Author
Re: [gentoo-dev] rfc: use of the /run directory Samuli Suominen <ssuominen@g.o>