Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Changing order of default virtual/udev provider
Date: Tue, 09 Feb 2016 12:36:57
Message-Id: 56B9DD61.4020201@gentoo.org
In Reply to: Re: [gentoo-dev] Changing order of default virtual/udev provider by Kent Fredric
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 02/09/2016 01:03 AM, Kent Fredric wrote:
5 > On 9 February 2016 at 18:27, Anthony G. Basile
6 > <blueness@g.o> wrote:
7 >> all the vitriolic attacks i get about eudev come from the gentoo
8 >> community. outside of this community i get praise.
9 >
10 >
11 > In case my earlier messages stating a desire to exercise much
12 > caution gave the wrong impression, I just want to state for the
13 > record I think its awesome eudev exists, and I think its awesome
14 > other distro's are using it.
15 >
16 > Just when it comes to "Change the defaults", I want to be certain
17 > about the path we're setting ourselves up for on this very
18 > important component, because here, a change of defaults paves a
19 > broader path for eudev to be a potential leading competition to
20 > systemd.
21 >
22 > Because if we do that, I feel we must be so sure of ourselves that
23 > eudev can be a profitable choice for at least a moderately long
24 > term, even in the event we get no more support from the systemd
25 > codebase.
26 >
27 > Having it in tree and having users who know what they're doing
28 > being able to choose their own risk factors and say "yeah, eudev is
29 > the right choice for what I'm doing" is one thing.
30 >
31 > But stating implicitly that "Hey, this is the default", this needs
32 > to be the *best* recommendation we can make based on all the other
33 > factors and other defaults Gentoo uses.
34 >
35 > Because new users *will* be inclined to pick the default, and
36 > *existing* users of the *current* default are likely to see the
37 > default change, and reason "well, the default has changed, so the
38 > new default is the new best thing", and will be inclined to
39 > switch.
40 >
41 > And the worst thing we could have is a combination of bad defaults
42 > that leads new users to have a poor first experience because they
43 > used all the default recommendations, and their system made magic
44 > smoke instead of booting.
45 >
46 > In short, to change *this* default, it seems pertinent that we
47 > *know* that the change we're making *is* better and a more reliable
48 > long-term choice than the *current* default, and if there is *any
49 > reasonable doubt*, we should delay changing until that reasonable
50 > doubt is expunged.
51 >
52
53 I can understand your concerns wrt defaults, but I don't know very
54 many Gentoo users that stick to defaults. Part of what draws people to
55 Gentoo is the very fact that you can customize every layer of the
56 stack, from kernel to user-facing GUI applications.
57
58 The default service manager is OpenRC, and it works great with eudev.
59 I've not had a single issue with eudev since I started using it. It
60 accepted any of the rules I had written for older udev before systemd
61 swallowed it, and I just don't have any issues. I can't think of any
62 reason eudev can't be a drop-in replacement, at least at the current tim
63 e.
64
65 sys-fs/udev is only for systems that aren't already running systemd,
66 as "!sys-apps/systemd" is in sys-fs/udev's ebuild. Given that
67 systemd+eudev is the only possible combination I can think of that may
68 cause problems, I don't think changing the default from sys-fs/udev to
69 sys-fs/eudev is a problem, at all. The default is currently
70 systemd-udev, and udev's been mostly unchanged since systemd swallowed
71 it, aside from the push for kdbus that the systemd team is pushing the
72 kernel guys to implement. Once *that* happens, eudev will need to
73 either use that interface to maintain "full" feature parity, or fork
74 off on its own.
75
76 Given that the push for kdbus is more a political API move than
77 anything, I can see eudev sticking to the current interface and
78 working just fine. The kdbus switch is completely internal and people
79 actually using udev won't notice much of anything except the necessity
80 for a new kernel version. If current users of udev end up being
81 required to switch to systemd in order to retain udev, then there will
82 most certainly be more interest in eudev and its development. I see
83 only positives for this.
84
85 I've used OpenRC and eudev since I started using Gentoo in 2012. I
86 don't predict switching from udev to eudev being difficult for anyone
87 running something like, say, runit, since it's really a drop-in
88 replacement. *after* kdbus is implemented in udev, *maybe*, but
89 unlikely since it's something really low level and there's no way the
90 systemd team would require big changes on the user/admin facing side
91 of things unless you aren't already running systemd. Their goal is to
92 make it so easy that people don't have to inspect the internals, which
93 gives them free reign to start conflicts with other distros and forks.
94
95 Have there been any real cases of issues switching between the two?
96 - --
97 Daniel Campbell - Gentoo Developer
98 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
99 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6
100 -----BEGIN PGP SIGNATURE-----
101 Version: GnuPG v2
102
103 iQIcBAEBCAAGBQJWud1gAAoJEAEkDpRQOeFwhXcP+gK9gMmk+CMQ8gRJbJcpHTot
104 nKAL4WotZc+st4TvyBSY1PklVT2s5GEQAfsHW4tvCYZAMQxaCceerWnCgJOhJynv
105 8fxxTaIkSivO0y6Q7PPEqFrnc3AhtQG8GWvDOUosVSX2xlTQ6kLXV/kjaS4vqd+i
106 K+G095gpn+tPKLsCuBS6+nHRYXJSEDJBL6b1cK0S37XNjBCaMAOo4kW3Qp6EEWAO
107 +oO1HH44gVQZdqDjdR/5J45zMeg7Y9KrzvZkD8QWbzAhui3X2Z/GsXpmnKw4vH2u
108 3dbXfFcPVZDJQ8PeJMTevglO8Weh6esoQTj83xjvY1luOwFn6Rvc2rPyulPHS+cJ
109 istKk1H1OvjgN8lK/3kAZ2fUAt2SFFvJIwFe0rNHzvVOv93sJcFhbCtrQIhqbvkf
110 kkBdSVHCDpxbYWtMvLIjbd73qsOjpvhTF+0MGMZlkAAinGoIFp/o4RqD4pqre0Nr
111 lmdGdmC/hufFTIf6ROEnCU7tkK6lWjzXN110E/Lekf8QEFZgjihFi0q+rkv7gi0c
112 B24fealTeqg1CFd2CrF5T/n6XG0FWovF6hOChg8OfN203pYRBSQgvFH6c9Kt4PP1
113 /CbVa0CGfuCNkDgQv10jwL9wQ+dNDKpwQC3r8CMPdeUYlqWZnRtz4/P8K0FjjUJs
114 8txys/VjkIqxdIuR9b10
115 =dov4
116 -----END PGP SIGNATURE-----

Replies