Gentoo Archives: gentoo-dev

From: "Steven J. Long" <slong@××××××××××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Re: Making systemd more accessible to "normal" users
Date: Wed, 01 May 2013 18:25:13
Message-Id: 20130501185203.GA3768@rathaus.eclipse.co.uk
In Reply to: Re: [gentoo-dev] Re: Making systemd more accessible to "normal" users by Fabio Erculiani
1 On Wed, May 01, 2013 at 03:14:07PM +0100, Fabio Erculiani wrote:
2 > On Wed, May 1, 2013 at 2:54 PM, Steven J. Long
3 > <slong@××××××××××××××××××.uk> wrote:
4 > > On Wed, May 01, 2013 at 12:04:00PM +0200, Fabio Erculiani wrote:
5 > >> PLEASE DO NOT START A FLAME WAR AND READ ON FIRST.
6 > >> THIS IS NOT A POST AGAINST OPENRC.
7 > >>
8 > >> With the release of Sabayon 13.04 [1] and thanks to the efforts I put
9 > >> into the systemd-love overlay [2], systemd has become much more
10 > >> accessible and easy to migrate to/from openrc. Both are able to
11 > >> happily coexist and logind/consolekit detection is now done at
12 > >> runtime.
13 > >
14 > > That's great: well done :-)
15 > >
16 > > Can I just check: what about people not using consolekit nor logind?
17 >
18 > This has nothing to do with it. If you don't want consolekit nor
19 > logind just USE="-consolekit -systemd".
20 > It looks like you haven't clear what I'm writing about, though.
21
22 Ah I see: sorry you're taking my email in the wrong spirit. I thought I made
23 it quite clear I'm not hostile to your intentions, but you appear to be hostile
24 to everything I've written.
25
26 FTR, as I said I was "just checking" that there would not be a hard dependency
27 introduced, since a) it would affect me and b) I wanted to know you're aware of
28 those use-cases, and that you already keep them in mind, going forward.
29
30 When someone says "just checking" or "can I just check.." it means they don't
31 expect there's any issue, but they'd like to be sure. Hence "just" a "check".
32
33 > >> It is sad to say that the "territoriality" in base-system (and
34 > >> toolchain) is not allowing any kind of progress [3] [4]. This is
35 > >> nothing new, by the way.
36 > >
37 > > I don't think you help yourself by making that kind of remark: when I read
38 > > those bugs I see some valid concerns being raised, which you just ignore.
39 > > For instance, wrt "nonsensical blockers" I too would like to know some
40 > > examples, as was queried in comment 27 [3]. In fact it was the first thing
41 > > that came to mind when reading your post, as I thought where possible things
42 > > were just installed for systemd (such as unit files) even when the user
43 > > is not using it.
44 >
45 > Have you ever tried to fully migrate to systemd from openrc? Clearly not.
46
47 OFC not, that's the point: it's why I'm asking you. The other person in the bug
48 clearly has some experience, and you refrained from answering him too. Oh well.
49
50 > >
51 > > > There are several components that need patching in order to work as
52 > >> expected with systemd:
53 > >> - polkit needs a patch that enables runtime detection of logind/consolekit
54 > >> - pambase needs to drop USE=systemd and always enable the optional
55 > >> module pam_systemd.so
56 > >
57 > > Again, what about people not using consolekit, nor logind, with no intention
58 > > of ever installing systemd? I've got nothing against this so long as it
59 > > is guaranteed not to break my pam setup. As-is I feel *very* wary of a change
60 > > that unconditionally requires a 'pam_systemd.so'. Please note I am not hostile
61 > > to your aims: I am merely seeking reassurance.
62 >
63 > Do you know how pam works? And did you understand the meaning of my
64 > words?
65
66 Again, you're not helping yourself with this attitude. Just a friendly warning.
67
68 > Do you know what optional means in this context?
69
70 "Always enable the optional.." means "require the currently optional.." to me.
71
72 > >> - genkernel needs to migrate to *udev (or as I did, provide a --udev
73 > >> genkernel option), mdev is unable to properly activate LVM volumes and
74 > >> LVM is actually working by miracle with openrc.
75 > >
76 > > Why is that such a "miracle"? openrc has worked with lvm since the beginning
77 > > afair, and is both clean, portable C, and modular.
78 >
79 > Do you know how LVM and udev and systemd interact wrt volumes activation?
80
81 I have a fair idea of how lvm, udev and openrc interact, after making udev start
82 after localmount last August. But really, all your replies are along the lines
83 of questioning my competence instead of answering the point.
84
85 I still don't see why you think it's a miracle openrc works with lvm, unless you
86 mean it was an effort for you. I do recall a bug with lvm a couple of months ago
87 I had to patch the lvm initscript for; but I notified the openrc channel about it
88 and they fixed it pretty quickly. Again, more experience that clearly makes me
89 incompetent.
90
91 > >> Alternatively, we should migrate to dracut.
92 > >> - networkmanager need not to install/remove files depending on
93 > >> USE=systemd but rather detect systemd at runtime, which is a 3 lines
94 > >> script.
95 > >
96 > > Sounds reasonable; since I don't use it, that can't affect me in any case.
97 >
98 > My goal wrt openrc is to keep the current level of support and just
99 > make systemd users' life easier.
100
101 <snip>
102 > >> If Gentoo is about choice, we should give our users the right to
103 > >> choose between the init system they like the most.
104 > >
105 > > I must be missing something as I thought they already had that choice.
106 >
107 > Please, write about something you actually manage to _know_. And also,
108 > please do read my post title.
109 > This is not a flamewar topic, I want to discuss about improving the
110 > systemd experience.
111
112 Hmm.. no. I'm afraid you haven't shown that Gentoo users don't currently have a
113 choice of init systems: so you're not some liberator endowing us with "rights"
114 we didn't otherwise enjoy til you came along with your magic impl, I'm afraid.
115
116 As for this topic being solely about improving the systemd experience, that's
117 a change. I could have sworn i read something about "improving the love between
118 openrc and systemd" and making *both* work better. But since you're now stating
119 this is just about systemd, I'll just point out that you're awfully territorial
120 yourself.
121
122 And your attitude of ignoring openrc people does not increase the love at all.
123
124 > > I am not doubting you: I just think we need more explanation of the exact
125 > > context where we can install Gentoo, but not a bootloader.
126 >
127 > Being Gentoo does not absolutely mean that we have to craft watches
128 > and play VHS with the tongue every time we want to do something.
129 > Making things easy is an orthogonal concept!
130
131 YAF non-answer.
132
133 > >> It looks like there is some consensus on the effort of making systemd
134 > >> more accessible,
135 > >
136 > > Sure there is: there's also consensus that this approach is wrong for
137 > > Gentoo. And I have to concur, without further reasoning from you. Switching
138 > > init isn't done that often, and when it is a Gentoo user is expected to
139 > > deal with configuration. In this case, it's a doddle to set the command-line
140 > > to init=/sbin/fubar to try it, and then when it's running the user can
141 > > change the symlink, or just revert as they choose.
142 > >
143 > > If they can't handle the above, they shouldn't be on Gentoo imo. And sabayon
144 > > already sets up systemd, so I don't see the use-case frankly. Apart from making
145 > > Gentoo base-system more suitable for direct usage in Sabayon, which is not our
146 > > problem.
147 >
148 > That's not absolutely the point, I am sorry. The topic here is to
149 > improve the systemd experience, if you are an openrc user that doesn't
150 > care about systemd and other stuff, you are off topic.
151
152 No the above is, and again you didn't answer it. There is no consensus as you claim.
153
154 > >
155 > > What are the effects for other downstreams? Funtoo for instance, has been
156 > > swimming against the upstream udev/systemd mania, from glancing at their site
157 > > recently. Have you consulted with other downstreams about their needs and got
158 > > buy-in from them too? That would strengthen your case, tho imo it's weak
159 > > irrespective of what systemd-preferring downstreams want: after all, they're
160 > > distros, not Gentoo users, and are supposed to be expert at setting things up.
161 > >
162 > > So I just don't see which Gentoo users this is helping. Making it even more
163 > > trivial to change init than it already is, is actually a bad thing in my eyes.
164 > > It gives the impression that it can be undertaken lightly which is simply bad
165 > > practice.
166 >
167 > We should stop thinking about Gentoo like a guru-distro. Gentoo is
168 > about choice, but choice != complexity. Making things easier is not
169 > against our Manifesto.
170
171 The thing you're ignoring is that your setup is more complex, and you clearly don't
172 give a damn about, and have not considered, the effect on other downstreams.
173
174 So we get more complexity and less choice overall, as is usual with idiot-box
175 approaches. And sorry, but a distro that doesn't hold your hand is a lot _easier_
176 to work with in the longer-term.
177
178 > Gentoo is about choice, which to me also means "embrace diversitiy".
179 > If you want to keep living in your little world, fine, you can and
180 > you're very welcome, but also people who want to have fun with new
181 > stuff should get the same respect.
182
183 You mean the respect you've shown me in this email, in my "little world"? *swoon*
184 you hero. I give up trying to be polite in the face of such crap, it's more than
185 I can stomach.
186
187 > Implementing new stuff also means making things easier, especially in the systemd case.
188
189 LMAO. You go girl, strut that nonsense like it means something.
190
191 > >> while there are problems with submitting bugs about
192 > >> new systemd units of the sort that maintainers just_dont_answer(tm).
193 > >> In this case, I am just giving 3 weeks grace period for maintainers to
194 > >> answer and then I usually go ahead adding units (I'm in systemd@ after
195 > >> all).
196 > >
197 > > AFAIK it's been policy for a while that systemd unit files should be installed
198 > > by default, for all the reasons you've given. I can't see a maintainer being
199 > > bothered by the systemd herd adding them when they have no interest: after all
200 > > users can already set an INSTALL_MASK, and it makes binpkgs more useful.
201 > >
202 >
203 > Thanks for reminding me a policy I am supposed to already know about.
204
205 So why are you complaining about maintainers who are not interested in systemd,
206 who ignore your bugs and don't add the unit files you want them to?
207
208 Maybe they know the policy too.
209
210 > >> The only remaining problem is about eselect-sysvinit, for this reason,
211 > >> I am probably going to create a new separate pkg called
212 > >> _sysvinit-next_, that contains all the fun stuff many developers were
213 > >> not allowed to commit (besides my needs, there is also the need of
214 > >> splitting sysvinit due to the issues reported in [4]). I am sure that
215 > >> a masked alternative sysvinit ebuild won't hurt anybody and will make
216 > >> Gentoo a bit more fun to use.
217 > >>
218 > >> The final outcome will hopefully be:
219 > >> - easier to migrate from/to systemd, at runtime, with NO recompilation
220 > >> at all (just enable USE=systemd and switch the device manager from
221 > >> *udev to systemd -- unless somebody wants to drop the udev part from
222 > >> systemd, if at all possible)
223 > >
224 > > How is adding USE=systemd to a system with it switched off (ie: enabling it),
225 > > *not* going to lead to recompilation?
226 > >
227 >
228 > Because you enable it once and for all and still have a _WORKING_ openrc.
229 > Please take more time reading about what's in my overlay before jumping the gun.
230
231 No way, sunshine. If you make what is effectively a marketing claim like "no
232 recompilation" then don't add the qualifications later on. Be precise upfront,
233 instead of typing so much noise. Or at very least be polite when someone queries
234 it.
235
236 > > What weird "emerge-fu"? You haven't outlined any at all. Unless you mean
237 > > changing a USE flag and the standard emerge process, which isn't what anyone
238 > > here would think of as "emerge-fu": just normal usage.
239 > >
240 > Same as above. You're talking about something you haven't even managed
241 > to try. I'm sorry to tell you.
242
243 Yes that's real emerge-fu there.. only for "gurus" for sure. </sarcasm>
244
245 If you post to a wider mailing-list like this, you should bear in mind that the
246 audience is not simply Gentoo developers, by _design_. If you don't like that, too
247 bad. Further, if you're posting to get feedback and buy-in from other people,
248 you severely limit yourself when you suddenly state that only those who have
249 already done the openrc -> systemd migration are qualified to discuss it. Doubly
250 so when you're rude to someone who actually felt quite supportive of your effort,
251 if not the design.
252
253 Believe me, I don't now. I just think you're a loud-mouthed amateur who's caught
254 up in the current fad for idiot-box designs, or what is traditionally known as
255 being "clever" instead of "wise". Your perspective will change in a decade or so.
256 As for me, I don't ever want to interact with you again.
257
258 > >> - we make possible to support new init systems in future, and even
259 > >> specific init wrappers (bootchart anyone?)
260 > >
261 > > Which is possible already, so this is null.
262 >
263 > It is not.
264
265 Right, so I can't switch init=/path/to/foo atm.
266
267 > >
268 > >> - we prepare the path towards a painless migration from consolekit
269 > >> (deprecated for long time now) to logind (we probably need to fork it
270 > >> off the systemd pkg -- upstream projects are _dropping_ consolekit
271 > >> support right now!)
272 > >
273 > > Some people don't use either. For good reason, but let's not get into a
274 > > flamewar: let's leave it as that "choice" thing you mentioned before. I
275 > > take it those users will not see any breakage beyond missing "features"?
276 >
277 > This doesn't affect such users.
278
279 Yay, a straight answer!
280
281 > >
282 > >> - we put back some fun into Gentoo
283 > >
284 > > Eh, I've been having much more fun since I got rid of semantic-craptop,
285 > > switched to mutt[A], and turned off all nubkit-related flags. My KDE came
286 > > back to me, and runs smooth just like 3.5 used to :) Then I replaced my
287 > > /bin/sh with /bin/bb which sped up bootup by an order of perceived
288 > > magnitude, and also sped up the _rest_ of my system. Of course, the latter
289 > > is only possible because Unix is designed on a modular basis, and we can
290 > > still swap components in and out on Linux (for now.)
291 >
292 > You're not the user I'm trying to work for. But yet nothing would
293 > change for you.
294
295 And interacting with you is not fun at all. Don't worry, I won't respond again
296 so feel free to mouth off some more.
297
298 > >
299 > >> If you want to see a working implementation of my systemd-love
300 > >> efforts, just go download [1] and see things working yourself.
301 > >>
302 > >> [1] http://www.sabayon.org/release/press-release-sabayon-1304
303 > >> [2] https://github.com/Sabayon/systemd-love
304 > >> [3] For instance: https://bugs.gentoo.org/show_bug.cgi?id=465236
305 > >> [4] "useless crap": https://bugs.gentoo.org/show_bug.cgi?id=399615
306 > >
307 > > Again, I don't think you help your case with this remark. I expected the
308 > > "useless crap" to be a reference to lennart-ware. In fact, he was pointing
309 > > out that he told you all 8 months ago to raise it upstream: several commands
310 > > had already been migrated in upstream git according to another comment. So
311 > > the "useless crap" was in fact what he'd usually call whining ime, about the
312 > > lack of a "magic fix."
313 >
314 > Please join Gentoo first.
315
316 That's useless crap too. And in fact he told you all back in January last year, so
317 make that 13 months. Then bear in mind how users get treated, and how quickly so
318 many of us take things upstream. Then ask yourself how much respect your attitude
319 really merits.
320
321 > >
322 > > Please note: I fully support your effort to make it easy to switch back
323 > > and forth (I actually believe many people who try out openrc will stay with it.)
324 > > I just don't think that adding a fragile eselect module (along with "this needs
325 > > investigation" as things come up) is the way to do it. Nor does it solve
326 > > any real problem in the Gentoo context. Nor should someone change init on a whim,
327 > > without being ready to handle configuration.
328
329 > Thanks for your feedback.
330
331 Yeah, right. Thanks for answering none^W one of my questions.
332
333 Your designs sucks afaic, most especially within the Gentoo context. You're wasting
334 your time imo, but it's yours to waste. Unfortunately you're also going to waste the
335 time of users and other developers. Still that's their concern, and none of my business.
336 That's what I keep telling myself, then we get more and more nonsense from one
337 "developer" or another, along with the mantra "the source is out there" like we have the
338 time.
339
340 Just so long as I can keep hard-masking your rubbish, that's fine by me. When you're
341 in base-system, or you're a portage developer, I'll prepare the ground to switch
342 distros, contingent on the output and whether you're in charge of anything.
343
344 --
345 #friendly-coders -- We're friendly, but we're not /that/ friendly.

Replies

Subject Author
[gentoo-dev] Re: Making systemd more accessible to "normal" users Duncan <1i5t5.duncan@×××.net>