Gentoo Archives: gentoo-user

From: Gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Debian just voted in systemd for default init system in jessie
Date: Tue, 18 Feb 2014 02:07:17
Message-Id: 5302c048.462f0e0a.3d3e.5888@mx.google.com
In Reply to: Re: [gentoo-user] Debian just voted in systemd for default init system in jessie by "Canek Peláez Valdés"
1 On Mon, 17 Feb 2014 18:35:34 -0600
2 Canek Peláez Valdés <caneko@×××××.com> wrote:
3
4 > On Mon, Feb 17, 2014 at 11:52 AM, Andrew Savchenko
5 > <bircoph@×××××.com> wrote:
6 > > On Sun, 16 Feb 2014 15:16:36 -0600 Canek Peláez Valdés wrote:
7 > >> On Sun, Feb 16, 2014 at 2:58 PM, Volker Armin Hemmann
8 > >> <volkerarmin@××××××××××.com> wrote:
9 > >> > Am 16.02.2014 21:08, schrieb Canek Peláez Valdés:
10 > >> >> On Sun, Feb 16, 2014 at 12:59 PM, Volker Armin Hemmann
11 > >> >> <volkerarmin@××××××××××.com> wrote:
12 > >> >> [ snip ]
13 > >> >>> or it is an idiotic decision. Because features means
14 > >> >>> complexity.
15 > >> >> Yeah, like the kernel.
16 > >> >>
17 > >> >>> Complexity means bugs.
18 > >> >> Bugs get reported, bugs get fixes. Life goes on.
19 > >>
20 > >> You didn't answered this, did you?
21 > >
22 > > Bugs are different.
23 >
24 > Bugs are bugs, period. And they get reported and fixed.
25 >
26 > > Bugs in the critical system components are
27 > > critical to the whole system.
28 >
29 > Yeah, that's why we have unit testing and QA teams and stable and
30 > unstable releases, etc.
31 >
32 > > If Libreoffice or browser
33 > > segfaults, some data may be lost and inconvenience created, but the
34 > > system will continue to run. If PID 1 segfaults — everything is
35 > > lost, you have a kernel panic.
36 >
37 > And the world will end? The same happens if the kernel has an error.
38 >
39 > > That's why critical components should
40 > > be as simple and clean as possible.
41 >
42 > Like the kernel? You call that "simple"?
43 >
44 > I'm sorry, but you are (IMO) wrong: critical components should be
45 > thoroughly tested and debugged, and have integrated unit testing, and
46 > a large enough group of volunteers to test new releases before they go
47 > into the general public.
48
49 How can you be sure if something is "large enough" if, as you say below,
50 you do not care about probabilities?
51
52 > > SysVinit code size is about 10 000 lines of code, OpenRC contains
53 > > about 13 000 lines, systemd — about 200 000 lines.
54 >
55 > If you take into account the thousands of shell code that SysV and
56 > OpenRC need to fill the functionality of systemd, they use even more.
57 >
58 > Also, again, systemd have a lot of little binaries, many of them
59 > optional. The LOC of PID 1 is actually closer to SysV (although still
60 > bigger).
61 >
62 > > Even assuming
63 > > systemd code is as mature as sysvinit or openrc (though I doubt
64 > > this) you can calculate probabilities of segfaults yourself easily.
65 >
66 > I don't care about probabilities;
67
68 If you do not care (= do not now anything) about probabilities
69 (and mathematics, in general), you just unable to understand
70 that debugging a program with 200K lines of code take
71
72 200000!/(10000!)^20
73
74 more time than debugging of 20 different programs with 10K lines of
75 code. You can try to calculate that number yourself but I quite sure
76 that if the latter can take, say, 20 days, the former can take
77 millions of years.
78
79 It is all the probability! Or, to be more precise, combinatorics.
80
81 > I care about facts: FACT, I've been using systemd since 2010,
82 > in several machines, and I haven't had a single segfault.
83
84 Have you ever tried forex? If yes, you should have been warned
85 that "no past performance guarantee the future one."
86
87 And if you do not believe that (and do not care about probability
88 and all the stuff like that), you should visit any of the forex forums
89 where you will be suggested a magical money winning strategy that, in
90 the past, behaved very well and earned 200 or even 500% a month.
91
92 > FACT: almost no bug report in systemd involves a
93 > segfault in PID 1.
94 >
95 > >> >> All of them are different tools providing one capability to
96 > >> >> systemd as a whole. So systemd is a collection of tools, where
97 > >> >> each one does one thing, and it does it well.
98 > >> >>
99 > >> >> By your definition, systemd perfectly follows "the unix way".
100 > >> >>
101 > >> >
102 > >> > no, it isn't.
103 > >> >
104 > >> > How are those binaries talk to each other?
105 > >>
106 > >> dbus, which is about to be integrated into the kernel with kdbus.
107 > >
108 > > And this is a very, very bad idea. Looks like you don't know matter
109 > > at all: to begin with kdbus protocol is NOT compatible dbus and
110 > > special converter daemon will be needed to enable dbus to talk to
111 > > kdbus.
112 >
113 > kdbus uses a different wire protocol than dbus; but for clients that
114 > doesn't matter; libsystemd-dbus will offer a compatibility layer (talk
115 > about "standard" and "replaceable"), so if your application uses dbus
116 > today, it will work with kdbus.
117 >
118 > Of course, new applications will take advantage of the new features
119 > of kdbus.
120 >
121 > > The
122 > > whole kdbus technology is very questionable itself (and was
123 > > forcefully pushed by RH devs),
124 >
125 > Sorry, but it's you who doesn't know the matter at hand: kdbus was
126 > (and is) written by Greg Kroah-Hartman, Linus' right hand, and who
127 > works for the Linux Foundation.
128
129 Lol, he seems to start to use the arguments like "You even do not know
130 my elder brother/acquaintance from the street nearby who can easily
131 hit you down!"
132
133 So, here, I would like to thank everybody in this discussion who
134 helped me to understand the danger of systemd and note that it is
135 now became pointless to continue this discussion with this "unpayed
136 systemd promoter."
137
138 > > anyway it is possible to disable this
139 > > stuff in kernel and guess what will be done on my systems.
140 >
141 > Good for you. Guess what will be done in mine?
142 >
143 > >> > Looks broken. Broken by design. The worst form of broken.
144 > >>
145 > >> By your opinion, not others.
146 > >
147 > > That is not just an opinion. There is a science and experience
148 > > behind system's design.
149 >
150 > Yeah, what do you think about Greg Kroah-Hartman, Linus' right hand,
151 > or Keith Packard of X.org fame? None of them works for Red Hat; both
152 > of them know more about Unix and Linux than you and me together, and
153 > both of them promote systemd.
154
155 Aha! How could you even doubt my understanding the words of these prophets! :-)
156
157 > I mean, I myself know a thing or two about computing and Linux, and I
158 > promote systemd (and nobody pays me, BTW), but obviously you don't
159 > need to believe in my credentials.
160
161 I have said you, he is just an unpayed fanatic systemd promoter!
162
163 > And, no offense, but I will always give more weight to the words of
164 > Greg Kroah-Hartman or Keith Packard (to name only two), instead of a
165 > random user in gentoo-user.
166 >
167 > There are knowledgeable people who are against systemd. But usually
168 > they don't give *technical* sound reasons.
169 >
170 > > And all that science was ignored during systemd
171 > > architecture process if there was any at all.
172 >
173 > You should read systemd-devel and Lennart's blog posts
174
175 And A Holy Words of our Mighty God!
176
177 > before saying something like that. I did.
178 >
179 > Regards

Replies