Gentoo Archives: gentoo-dev

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: Re: [gentoo-dev] Re: Making systemd more accessible to "normal" users
Date: Tue, 21 May 2013 03:35:01
Message-Id: CADPrc821vD3+zXzcd8t-AmtfVFve9xVC94DB-FfFydzy5mkFVA@mail.gmail.com
In Reply to: Re: Re: [gentoo-dev] Re: Making systemd more accessible to "normal" users by Daniel Campbell
1 On Tue, May 21, 2013 at 3:03 AM, Daniel Campbell <dlcampbell@×××.com> wrote:
2 > On 05/19/2013 01:05 PM, Canek Peláez Valdés wrote:
3 >> On Sun, May 19, 2013 at 9:34 AM, Peter Stuge <peter@×××××.se> wrote:
4 >>> J. Roeleveld wrote:
5 >>>> I don't see how this will avoid the issue of a limited amount of
6 >>>> inodes.
7 >>>> That is what I usually run out of before the disk is full when
8 >>>> storing lots of smaller files.
9 >>>
10 >>> I guess the number of unit files is on the order of hundreds
11 >>
12 >> (Sorry, sent email before it was ready).
13 >>
14 >> Laptop running full GNOME:
15 >>
16 >> # find /usr/lib/systemd/system -type f | wc
17 >> 154 154 7012
18 >>
19 >> Server running Apache+MySQL+Mailman+Squid+Other services:
20 >>
21 >> # find /usr/lib/systemd/system -type f | wc
22 >> 121 121 5560
23 >>
24 >> And as you said, you can always use INSTALL_MASK. If 154 files are
25 >> going to deplete your inodes, I think your problem lies somewhere
26 >> else.
27 >>
28 >> Regards.
29 >> --
30 >> Canek Peláez Valdés
31 >> Posgrado en Ciencia e Ingeniería de la Computación
32 >> Universidad Nacional Autónoma de México
33 >>
34 >
35 > That's missing the point. If you don't run systemd, having unit files is
36 > pointless. Thankfully there's INSTALL_MASK and whatnot, but that seems
37 > like a hack instead of something more robust. Why include systemd unit
38 > files (by default, with no systemd USE flag, thanks to the council...)
39 > on a system that's not using it? 154 files isn't negligible unless
40 > you're flippant with your system and don't care about bloat. Unused
41 > software sitting around *is* a waste of disk-space.
42
43 Unit files are not software; they are data.
44
45 And I believe you are the one missing the point. I don't run OpenRC; I
46 don't need no files in /etc/init.d. But you don't see me (nor any
47 other systemd user) complaining about pointless scripts in
48 /etc/init.d. I just put /etc/init.d in INSTALL_MASK and go on with my
49 life.
50
51 Non-systemd users should do the same for files under /usr/lib/systemd,
52 if they really are that worried about systemd "infecting" their
53 systems. Complaining about a council-decided policy (and, I believe,
54 backed up by the developers that matter, including the OpenRC
55 maintainers) is just beating on a dead horse.
56
57 Get over it.
58
59 > Some people (like myself) came to Gentoo to avoid putting systemd on
60 > their systems and to make use of the great choice that Gentoo allows.
61 > This push to make systemd a "first level citizen" or whatever reeks of
62 > marketing.
63
64 If Gentoo is about choice, then systemd is one of those choices. And
65 systemd will become a first class citizen inside Gentoo, like it or
66 not. Support for it has been getting better and better, and more and
67 more Gentoo users are running with systemd.
68
69 If some fundamentalists users don't want even one file in their
70 systems with "systemd" on their paths, they can install eudev/mdev,
71 put the necessary directories in INSTALL_MASK, and do the extra work.
72 If some other fundamentalists users (like myself) don't want even one
73 OpenRC related file on our systems, we can create an overlay to remove
74 the dependency of baselayout on OpenRC, put /etc/init.d in
75 INSTALL_MASK, and do the extra work.
76
77 Neither case covers the average systemd/OpenRC user, who doesn't care
78 about a few scattered files in /etc/init.d nor /usr/lib/systemd, and
79 just want to run her machine with the init system of her choice. If
80 Gentoo is really about choice.
81
82 > If there is desire among users for unit files, they can
83 > contact upstream or maintain their own set of unit files. It's not like
84 > they're hard to write.
85
86 So, Gentoo is about choice, but only for the choices you agree with. Great.
87
88 Regards.
89 --
90 Canek Peláez Valdés
91 Posgrado en Ciencia e Ingeniería de la Computación
92 Universidad Nacional Autónoma de México

Replies