Gentoo Archives: gentoo-dev

From: Patrick Lauer <patrick@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Changing order of default virtual/udev provider
Date: Sun, 14 Feb 2016 15:15:55
Message-Id: 56C099EE.8020401@gentoo.org
In Reply to: Re: [gentoo-dev] Changing order of default virtual/udev provider by Kent Fredric
1 On 02/09/2016 10:03 AM, Kent Fredric wrote:
2 > On 9 February 2016 at 18:27, Anthony G. Basile <blueness@g.o> wrote:
3 >> all the vitriolic attacks i get about eudev come from the gentoo
4 >> community. outside of this community i get praise.
5 >
6 > In case my earlier messages stating a desire to exercise much caution
7 > gave the wrong impression, I just want to state for the record I think
8 > its awesome eudev exists, and I think its awesome other distro's are
9 > using it.
10 >
11 > Just when it comes to "Change the defaults", I want to be certain
12 > about the path we're setting ourselves up for on this very important
13 > component, because here, a change of defaults paves a broader path for
14 > eudev to be a potential leading competition to systemd.
15 If, for any reason, eudev should be abandoned - we can just change the
16 virtual back. One-line change.
17 >
18 > Because if we do that, I feel we must be so sure of ourselves that
19 > eudev can be a profitable choice for at least a moderately long term,
20 > even in the event we get no more support from the systemd codebase.
21 >
22 > Having it in tree and having users who know what they're doing being
23 > able to choose their own risk factors and say "yeah, eudev is the
24 > right choice for what I'm doing" is one thing.
25 >
26 > But stating implicitly that "Hey, this is the default", this needs to
27 > be the *best* recommendation we can make based on all the other
28 > factors and other defaults Gentoo uses.
29 Given the options of {systemd, systemd-udevd standalone, eudev} -
30 Those that choose systemd are not in this discussion.
31 Systemd-udevd standalone is unsupported, with upstream suggesting that
32 they want to remove support for it.
33 Leaves eudev as the only 'sane' option, since we even have an upstream.
34
35 And it's the 'mainstream' choice.
36
37 And it wins the popular vote:
38 https://forums.gentoo.org/viewtopic-t-1038696-postdays-0-postorder-asc-highlight-eudev-start-0.html
39
40 >
41 > Because new users *will* be inclined to pick the default, and
42 > *existing* users of the *current* default are likely to see the
43 > default change, and reason "well, the default has changed, so the new
44 > default is the new best thing", and will be inclined to switch.
45 Existing installs won't have a visible change. Since a provider of
46 virtual/udev is installed nothing changes, even if we shuffle the
47 virtual providers around.
48 >
49 > And the worst thing we could have is a combination of bad defaults
50 > that leads new users to have a poor first experience because they used
51 > all the default recommendations, and their system made magic smoke
52 > instead of booting.
53 >
54 > In short, to change *this* default, it seems pertinent that we *know*
55 > that the change we're making *is* better and a more reliable long-term
56 > choice than the *current* default, and if there is *any reasonable
57 > doubt*, we should delay changing until that reasonable doubt is
58 > expunged.
59 >
60 Since eudev is a drop-in replacement that uses a good part of the
61 original udev codebase - if you notice any deviation it's either a bug
62 (which we should fix) or udev misbehaves (e.g. persistent network
63 naming, which is a wonderful way to make people with more than zero
64 network cards angry)
65
66 And again: It would only affect what gets installed if you do "emerge -C
67 udev eudev; emerge virtual/udev"
68 (and, as a positive side-effect, changes the udev implementation of
69 stage3, which again only affects the default on *new* installs)
70
71 I don't see any serious doubts, apart from "we're deviating from
72 upstream" - but that's exactly what I want to fix! Yes, we deviate
73 *now*, we should not do that. And there's reasonable doubt that we can
74 keep sys-fs/udev going.
75
76
77 I like it when people violently agree with me :)

Replies