Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] tmpfiles virtual
Date: Tue, 15 Nov 2016 19:51:58
Message-Id: 0fb71c42-9033-a77b-2a7b-3a7865ce10fe@gentoo.org
In Reply to: Re: [gentoo-dev] tmpfiles virtual by "Michał Górny"
1 On 15/11/16 02:42 PM, Michał Górny wrote:
2 > On Tue, 15 Nov 2016 13:57:14 -0500
3 > Ian Stakenvicius <axs@g.o> wrote:
4 >
5 >> On 15/11/16 12:56 PM, William Hubbs wrote:
6 >>> OpenRC itself doesn't install any tmpfiles.d files, and my plan is to
7 >>> make sure virtual/tmpfiles and opentmpfiles go stable at the same time
8 >>> the new OpenRC does, along with at least one package that uses them.
9 >>>
10 >>> This will also definitely be covered in the upstream OpenRC news.
11 >>>
12 >>> WRT OpenRC pulling it in, it isn't a build or runtime dependency of
13 >>> OpenRC, and it may not even be needed in some cases, so I'm not sure how
14 >>> much sense it makes from the OpenRC level to pull it in or which type of
15 >>> dependency to use for it.
16 >>
17 >> I'm with William on this. As long as the packages that install items
18 >> (init scripts, whatever) that -do- need tmpfiles.d support depend on
19 >> virtual/tmpfilesd, this will ensure it's installed regardless of
20 >> whether or not openrc depends on the virtual directly.
21 >
22 > The ebuilds are going to only need a pkg_*-time dependency on the tool.
23 > While this means RDEPEND at the moment due to our dependency class
24 > limits, we may have a proper dependency type for it in EAPI 7. In this
25 > case, the PM will be allowed to unmerge opentmpfiles as soon
26 > as the package is installed.
27 >
28
29 The EBUILDS, yes.
30
31 This tool isn't just for ebuilds though, it's also for managing
32 tmpfiles.d processing at boot time as well as (i assume) via
33 continuous daemon-like operation for the services that install files
34 into /usr/lib/tmpfiles.d/ (apache, libvirtd, lvm2, mysql, samba are
35 just a few that I have on my own system right now) when systemd isn't
36 installed.
37
38 Or am I wrong on this? It'd seem odd that we would go through this
39 just to make a tool for ebuilds to use, if non-systemd systems aren't
40 going to use it at boot time as well...

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] tmpfiles virtual Mike Gilbert <floppym@g.o>