Gentoo Archives: gentoo-dev

From: Michael Mol <mikemol@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Making systemd more accessible to "normal" users
Date: Tue, 21 May 2013 13:18:02
Message-Id: 519B73F9.6080402@gmail.com
In Reply to: Re: Re: [gentoo-dev] Re: Making systemd more accessible to "normal" users by "Canek Peláez Valdés"
1 On 05/20/2013 11:34 PM, Canek Peláez Valdés wrote:
2 > On Tue, May 21, 2013 at 3:03 AM, Daniel Campbell <dlcampbell@×××.com>
3 > wrote:
4
5 [snip]
6
7 >> That's missing the point. If you don't run systemd, having unit
8 >> files is pointless. Thankfully there's INSTALL_MASK and whatnot,
9 >> but that seems like a hack instead of something more robust. Why
10 >> include systemd unit files (by default, with no systemd USE flag,
11 >> thanks to the council...) on a system that's not using it? 154
12 >> files isn't negligible unless you're flippant with your system and
13 >> don't care about bloat. Unused software sitting around *is* a
14 >> waste of disk-space.
15 >
16 > Unit files are not software; they are data.
17
18 That's like saying "shell scripts are not software, they are data". Unit
19 files, semantically and collectively, are a system-behavior-defining set
20 of interpreted modules written in a declarative language. In fact,
21 that's what makes them even remotely appealing, on comparison to
22 shell-based init scripts; they make declarations of requirements, the
23 "what", and leave it to the system resolver to work out the "how".
24
25 (It's from this perspective that I like the idea of using unit files as
26 a point of origin for *generating* init configurations like systemv,
27 openrc or runit scripts. You'd be compiling the init script for the
28 target init system, and your result should be more robust for it.)
29
30 >
31 > And I believe you are the one missing the point. I don't run OpenRC;
32 > I don't need no files in /etc/init.d. But you don't see me (nor any
33 > other systemd user) complaining about pointless scripts in
34 > /etc/init.d. I just put /etc/init.d in INSTALL_MASK and go on with
35 > my life.
36 >
37 > Non-systemd users should do the same for files under
38 > /usr/lib/systemd, if they really are that worried about systemd
39 > "infecting" their systems. Complaining about a council-decided policy
40 > (and, I believe, backed up by the developers that matter, including
41 > the OpenRC maintainers) is just beating on a dead horse.
42
43 The push to keep USE flags specific to enabling and disabling program
44 features seems weird to me; the semantics of USE flags seem valuable for
45 a great deal more than that.
46
47 >
48 > Get over it.
49 >
50 >> Some people (like myself) came to Gentoo to avoid putting systemd
51 >> on their systems and to make use of the great choice that Gentoo
52 >> allows. This push to make systemd a "first level citizen" or
53 >> whatever reeks of marketing.
54 >
55 > If Gentoo is about choice, then systemd is one of those choices.
56
57 This I take no issue with.
58
59 > And systemd will become a first class citizen inside Gentoo, like it
60 > or not.
61
62 ...
63
64 > Support for it has been getting better and better, and more and more
65 > Gentoo users are running with systemd.
66
67 And users are switching to eudev and mdev as well. Personally, I think
68 heterogeneity is a good thing...That's a huge part of why I like Gentoo;
69 it's a crucible for open-source software that tends to bring breakages
70 in edge-case (but theoretically "supported") configurations to upstream
71 attention.
72
73 >
74 > If some fundamentalists
75
76 ...
77
78 > users don't want even one file in their systems with "systemd" on
79 > their paths, they can install eudev/mdev, put the necessary
80 > directories in INSTALL_MASK, and do the extra work. If some other
81 > fundamentalists users (like myself) don't want even one OpenRC
82 > related file on our systems, we can create an overlay to remove the
83 > dependency of baselayout on OpenRC, put /etc/init.d in INSTALL_MASK,
84 > and do the extra work.
85 >
86 > Neither case covers the average systemd/OpenRC user, who doesn't
87 > care about a few scattered files in /etc/init.d nor /usr/lib/systemd,
88 > and just want to run her machine with the init system of her choice.
89 > If Gentoo is really about choice.
90
91 It is, and it should be.
92
93 >
94 >> If there is desire among users for unit files, they can contact
95 >> upstream or maintain their own set of unit files. It's not like
96 >> they're hard to write.
97 >
98 > So, Gentoo is about choice, but only for the choices you agree with.
99 > Great.
100
101 Nobody says the devs must do whatever the users demand of them; the devs
102 are unpaid.
103
104 The best arguments in this thread, to my eye, have been to encourage
105 devs to accept user-contributed unit files.
106
107 As users, you and I can't force devs to do anything. But we can always
108 pull up our sleeves and dig in ourselves.

Attachments

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