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 |