Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] What's going on with the tmpfiles eclasses?
Date: Thu, 25 Apr 2019 21:23:40
Message-Id: a3915b2bec3e3db49c3110fa2673e09d2a44a1c9.camel@gentoo.org
In Reply to: Re: [gentoo-dev] What's going on with the tmpfiles eclasses? by Michael Orlitzky
1 On Thu, 2019-04-25 at 16:49 -0400, Michael Orlitzky wrote:
2 > On 4/25/19 4:20 PM, Michał Górny wrote:
3 > > Wrong. tmpfiles_process() requires virtual/tmpfiles on any system,
4 > > including daemontools, bare minimal init and whatever. Keeping it
5 > > installed afterwards is a minor side effect, and technical limitation of
6 > > our dependency types (lack of install-depend).
7 > >
8 >
9 > What's wrong? You only need the effect of tmpfiles_process() if you're
10 > running systemd or OpenRC. If the user is running SysV-init and if the
11 > package also installs a SysV-init script, then that init script is going
12 > to have to create any temporary directories it needs, because SysV-init
13 > doesn't know anything about tmpfiles.
14 >
15
16 This isn't about init scripts. This is about arbitrary directories that
17 need to be created at runtime and potentially cleaned up or recreated
18 after reboot, such as cache directories.
19
20 --
21 Best regards,
22 Michał Górny

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] What's going on with the tmpfiles eclasses? Michael Orlitzky <mjo@g.o>