Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] new tmpfilesd.eclass
Date: Thu, 16 Aug 2012 06:21:19
Message-Id: robbat2-20120816T061146-319977177Z@orbis-terrarum.net
In Reply to: [gentoo-dev] [RFC] new tmpfilesd.eclass by Sergei Trofimovich
1 On Wed, Aug 15, 2012 at 11:57:57PM +0300, Sergei Trofimovich wrote:
2 > As gentoo switched to /var/run/ -> /run in tmpfs recently
3 > people got into problems [1] of missing directories like:
4 > /var/run/screen/
5 > /var/run/openfire/
6 > /var/run/proftpd/
7 > they did bite me personally.
8 If the package has an init.d script, it should be doing creation of the
9 needed dirs. I know this doesn't help screen however.
10
11 > openrc-0.10 brought [2] basic support for systemd's tmpfiles'd:
12 > [2]: https://bugs.gentoo.org/show_bug.cgi?id=396003
13 > http://0pointer.de/public/systemd-man/tmpfiles.d.html
14 Ok, missing functionality:
15 tmpfiles.sh:
16 - clean-up (age column)
17 - 'x' type (used only during clean-up to exclude locations from
18 cleaning).
19
20 openrc:
21 When are the right times to call the tmpfiles code? Where in the early
22 boot for one, and what other times?
23
24 --
25 Robin Hugh Johnson
26 Gentoo Linux: Developer, Trustee & Infrastructure Lead
27 E-Mail : robbat2@g.o
28 GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85

Replies

Subject Author
Re: [gentoo-dev] [RFC] new tmpfilesd.eclass Sergei Trofimovich <slyfox@g.o>