Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Changing order of default virtual/udev provider
Date: Thu, 11 Feb 2016 16:42:34
Message-Id: a63b8b06-2144-c2c1-2efa-2bff90495b8e@gentoo.org
In Reply to: Re: [gentoo-dev] Changing order of default virtual/udev provider by Nicolas Sebrecht
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 10/02/16 08:46 PM, Nicolas Sebrecht wrote:
5 > On Mon, Feb 08, 2016 at 11:00:15AM -0500, Ian Stakenvicius
6 > wrote:
7 >
8 >> Oh, eudev also doesn't handle network link setup given that
9 >> external tools already do this just fine. That's another
10 >> difference, though not one that matters programmatically. That
11 >> said, the network-link setup was added primarily to support
12 >> systemd's use-case, and there's very little need or point in
13 >> having it done by udevd on an rc-based system.
14 >
15 > Unless I'm mistaken, you're saying that eudev doesn't handle
16 > network link but it doesn't matter because rc-based systems don't
17 > requires it.
18 >
19 > And at the same time, I read in this thread that eudev is
20 > in-place replacement for udev without any harm. What will happen
21 > to the users wanting systemd AND expect the network link setup?
22 >
23
24 Systemd requires system configuration differently compared to
25 openrc and other rc systems. One cannot expect eudev (or sys-fs/udev)
26 to be drop-in replacements for systemd and for them to read systemd
27 configuration. See
28 https://www.freedesktop.org/software/systemd/man/systemd.link.html
29 for more information on network linking, especially the very
30 systemd-specific config locations.
31
32 If someone whats to use both openrc and systemd on the same system,
33 then they can't have EITHER sys-fs/udev OR sys-fs/eudev installed,
34 so the point to this particular discussion is rather moot.
35 Systemd-udev from the systemd package could theoretically read the
36 network-link config files, assuming that systemd doesn't need to be
37 PID1 for this to occur; it could very well be, however, that even
38 when systemd is installed, booting openrc the network link setup
39 will still need to be configured appropriately outside of these
40 systemd configs.
41
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v2
44
45 iF4EAREIAAYFAla8uewACgkQAJxUfCtlWe2nBgEAoelTVLQLwhqrrqNFGUncmW3M
46 iSrWyWSMlKTgeltsNQIBAOjewM3i0enEzhYacRijzmdNkrJdzs5KrYca3Ze1dftw
47 =1nVy
48 -----END PGP SIGNATURE-----