Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] tmpfiles virtual
Date: Thu, 17 Nov 2016 00:10:28
Message-Id: CAJ0EP43ko7-WO0uoGAVtqG_RQx6eR7CJ_8yvaA-DYANHNZ5=5g@mail.gmail.com
In Reply to: Re: [gentoo-dev] tmpfiles virtual by William Hubbs
1 On Wed, Nov 16, 2016 at 6:25 PM, William Hubbs <williamh@g.o> wrote:
2 > On Wed, Nov 16, 2016 at 06:19:28PM -0500, Ian Stakenvicius wrote:
3 >> On 16/11/16 06:16 PM, William Hubbs wrote:
4 >> > On Wed, Nov 16, 2016 at 06:09:59PM -0500, Ian Stakenvicius wrote:
5 >> >> On 16/11/16 03:21 PM, William Hubbs wrote:
6 >> >>>
7 >> >>> I can make the service scripts call the systemd-tmpfiles service if it
8 >> >>> is available or if not call the opentmpfiles implementation.
9 >> >>>
10 >> >>> I'm not sure whether it is worth having a separate package for the
11 >> >>> service scripts in this case.
12 >> >>
13 >> >> That would depend on where the service scripts are sitting, I guess --
14 >> >> do you mean here that openrc will keep its current tmpfiles.dev and
15 >> >> tmpfiles.setup scripts? If that's the case wouldn't openrc need to
16 >> >> RDEPEND or PDEPEND on virtual/tmpfiles ?
17 >> >
18 >> > No, those scripts will be removed from OpenRC. If you grep through
19 >> > OpenRC, you will see that once they are removed, they are never actually
20 >> > referred to by any other services that are part of OpenRC.
21 >> >
22 >> > The scripts will be put in opentmpfiles and that ebuild will install
23 >> > them.
24 >> >
25 >> > William
26 >> >
27 >>
28 >> Then we're back to the exact same issue. opentmpfiles won't be
29 >> installed if systemd is installed, so the scripts won't get installed.
30 >
31 > Why not? we can just add opentmpfiles to the pdepend of systemd the
32 > same way udev-init-scripts is.
33
34 Sorry, but that really does not make any sense.