Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gentoo-systemd-only deprecation
Date: Wed, 31 Jul 2013 19:36:38
Message-Id: 20130731203628.323d810c@hactar.digimed.co.uk
In Reply to: Re: [gentoo-user] gentoo-systemd-only deprecation by Stroller
1 On Wed, 31 Jul 2013 19:54:54 +0100, Stroller wrote:
2
3 > > If you use systemd, all the files installed in /etc/init.d (except
4 > > functions.sh) don't actually do nothing.
5 >
6 > Right, which is a bit freakin' odd, because on most every previous
7 > distro and other *nix system, that's where the system administrator
8 > goes to start and stop services.
9
10 And that is why it is possible to have systemd and openrc installed at
11 the same time, because they keep their service files in completely
12 different locations.
13
14 > If they're not used, in this case, I don't think they should be
15 > installed.
16
17 Which is where this thread started, should every daemon package have a
18 couple of extra USE flags just to decide which, or both, of the service
19 manager files to install. Then you'd probably need some eclass code to
20 determine that you have at least one of those USE flags enabled, and
21 maybe some code to forbid both on packages that don't work with both
22 service managers installed.
23
24 Or you could allow each server's ebuild to install one redundant small
25 file, bearing in mind that a different file may be redundant for the next
26 user.
27
28 So let the ebuild install both files and those of use with excessive OCD
29 tendencies, or very limited storage, can use INSTALL_MASK t exclude not
30 only the redundant service files but a lot more besides.
31
32
33 --
34 Neil Bothwick
35
36 Octal: (n.) a base-8 counting system designed so that one hand may count
37 upon the fingers of the other. Thumbs are not used, and the index finger
38 is reserved for the 'carry.'

Attachments

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