1 |
On 05/01/13 05:04, Fabio Erculiani wrote: |
2 |
> PLEASE DO NOT START A FLAME WAR AND READ ON FIRST. |
3 |
> THIS IS NOT A POST AGAINST OPENRC. |
4 |
> |
5 |
> With the release of Sabayon 13.04 [1] and thanks to the efforts I put |
6 |
> into the systemd-love overlay [2], systemd has become much more |
7 |
> accessible and easy to migrate to/from openrc. Both are able to |
8 |
> happily coexist and logind/consolekit detection is now done at |
9 |
> runtime. |
10 |
> It is sad to say that the "territoriality" in base-system (and |
11 |
> toolchain) is not allowing any kind of progress [3] [4]. This is |
12 |
> nothing new, by the way. |
13 |
> |
14 |
> There are several components that need patching in order to work as |
15 |
> expected with systemd: |
16 |
> - polkit needs a patch that enables runtime detection of logind/consolekit |
17 |
> - pambase needs to drop USE=systemd and always enable the optional |
18 |
> module pam_systemd.so |
19 |
> - genkernel needs to migrate to *udev (or as I did, provide a --udev |
20 |
> genkernel option), mdev is unable to properly activate LVM volumes and |
21 |
> LVM is actually working by miracle with openrc. Alternatively, we |
22 |
> should migrate to dracut. |
23 |
> - networkmanager need not to install/remove files depending on |
24 |
> USE=systemd but rather detect systemd at runtime, which is a 3 lines |
25 |
> script. |
26 |
> - openrc-settingsd needs to support eselect-settingsd, which makes |
27 |
> possible to switch the settingsd implementation at runtime, between |
28 |
> openrc and systemd. This also removes the silly conflict between |
29 |
> openrc-settingsd and systemd friends. |
30 |
> - genkernel should at least support plymouth (work in progress my side) |
31 |
> - other ~490 systemd units are missing at this time and writing them |
32 |
> could also be a great GSoC project (don't look at me, I'm busy |
33 |
> enough). |
34 |
> |
35 |
> All this would come with no cost for the current openrc state |
36 |
> (actually, my initramfs speed improvements patches in genkernel.git |
37 |
> also benefit openrc). |
38 |
> If Gentoo is about choice, we should give our users the right to |
39 |
> choose between the init system they like the most. |
40 |
> |
41 |
> It looks like there is some consensus on the effort of making systemd |
42 |
> more accessible, while there are problems with submitting bugs about |
43 |
> new systemd units of the sort that maintainers just_dont_answer(tm). |
44 |
> In this case, I am just giving 3 weeks grace period for maintainers to |
45 |
> answer and then I usually go ahead adding units (I'm in systemd@ after |
46 |
> all). |
47 |
> |
48 |
> The only remaining problem is about eselect-sysvinit, for this reason, |
49 |
> I am probably going to create a new separate pkg called |
50 |
> _sysvinit-next_, that contains all the fun stuff many developers were |
51 |
> not allowed to commit (besides my needs, there is also the need of |
52 |
> splitting sysvinit due to the issues reported in [4]). I am sure that |
53 |
> a masked alternative sysvinit ebuild won't hurt anybody and will make |
54 |
> Gentoo a bit more fun to use. |
55 |
> |
56 |
> The final outcome will hopefully be: |
57 |
> - easier to migrate from/to systemd, at runtime, with NO recompilation |
58 |
> at all (just enable USE=systemd and switch the device manager from |
59 |
> *udev to systemd -- unless somebody wants to drop the udev part from |
60 |
> systemd, if at all possible) |
61 |
> - we give the users the right to choose without driving them nuts with |
62 |
> weird emerge-fu. |
63 |
> - we make possible to support new init systems in future, and even |
64 |
> specific init wrappers (bootchart anyone?) |
65 |
> - we prepare the path towards a painless migration from consolekit |
66 |
> (deprecated for long time now) to logind (we probably need to fork it |
67 |
> off the systemd pkg -- upstream projects are _dropping_ consolekit |
68 |
> support right now!) |
69 |
> - we put back some fun into Gentoo |
70 |
> |
71 |
> If you want to see a working implementation of my systemd-love |
72 |
> efforts, just go download [1] and see things working yourself. |
73 |
> |
74 |
> [1] http://www.sabayon.org/release/press-release-sabayon-1304 |
75 |
> [2] https://github.com/Sabayon/systemd-love |
76 |
> [3] For instance: https://bugs.gentoo.org/show_bug.cgi?id=465236 |
77 |
> [4] "useless crap": https://bugs.gentoo.org/show_bug.cgi?id=399615 |
78 |
> |
79 |
> Cheers, |
80 |
> |
81 |
Isn't there a tracker (and if not, why have you not created one yet :P ) |
82 |
|
83 |
-- |
84 |
-- Matthew Thode (prometheanfire) |