View previous topic :: View next topic |
Author |
Message |
gtwrek Tux's lil' helper

Joined: 10 Mar 2017 Posts: 112 Location: San Jose, CA
|
Posted: Thu Aug 26, 2021 6:54 pm Post subject: eudev impending removal |
|
|
Ok, trying not to start a derailed thread, but just saw the eselect news regarding the impending removal of eudev from gentoo on 2022-01-01
2021-08-24-eudev-retirement
Any ideas on how those of us which mask udev should proceed? I know just enough to get myself in trouble. I can just manage to point to overlays correctly.
Is moving eudev to an overlay somewhere a reasonable solution?
Regards,
Mark |
|
Back to top |
|
 |
Dorsai! Apprentice


Joined: 27 Jul 2008 Posts: 285 Location: Bavaria
|
Posted: Thu Aug 26, 2021 7:06 pm Post subject: |
|
|
I don't think just keeping the latest ebuild around in an overlay is feasible. Udev is still under development and ongoing maintenance burden seems to be the very reason eudev is dropped.
If you're not dependent on virtual/udev specifically and virtual/dev-manager is enough I'd suggest giving busybox's mdev a try. I use it on some less complicated setups and so far it has done its job well over the years. Or you could even run an entirely static /dev like many here, but I wouldn't know about that.
Edit: https://wiki.gentoo.org/wiki/Mdev |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55498 Location: 56N 3W
|
Posted: Thu Aug 26, 2021 7:16 pm Post subject: |
|
|
gtwrek,
Go with udev.
eudev will not be maintained an its a lot of work to keep it tracking systemd-udev.
I don't think that staying with an old eudev is an option.
There is also mdev which is doable. Others here have done it and can explain the nuances.
You could also go really hard core old school and not have any dynamic device management on your install at all.
That's what I did. It does need modified ebuilds so that things still build.
The original draft of the news item contained
blueness wrote: | Rationale
The integration of udev into the systemd git repo introduced numerous
problems for none-glibc systems, such as musl and uclibc. Several
options were considered, and the one chosen was to fork and maintain
udev independant of the rest of systemd. This was meant as a stop-gap
solution until such time as the problems with systemd on musl had been
resolved. This is now the case with patches provided by openembedded,
and my original reason for maintaining eudev is no longer relevant.
I am willing to transfer eudev to another umbrella organisation or Linux
distribution that is willing to continue its maintenance, but
maintaining eudev cannot be done purely through proxy-maintaining and
requires an understanding of its internals. This is a steep learning
curve and must be an earnest effort. For this reason, the Base System
project has decided not to support euev as an option going forward. |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
gtwrek Tux's lil' helper

Joined: 10 Mar 2017 Posts: 112 Location: San Jose, CA
|
Posted: Thu Aug 26, 2021 8:04 pm Post subject: |
|
|
Ok, reading the eselect news closer, I *think* I'm ok. My package.mask contains:
sys-apps/systemd
However, I don't use an INSTALL_MASK 'with a blanket "*systemd*" glob' so I should be ok.
On 2021-10-01, eudev will be masked, and portage will then pick up the udev components as necessary (following my package.mask) - using udev instead of eudev. Is this a correct assessment?
Thanks,
Mark |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Thu Aug 26, 2021 8:13 pm Post subject: |
|
|
Quote: | On 2021-10-01, eudev will be masked |
It's time to switch to systemd-udevd, a professional variant of udev, which is developed and maintained by experts.  |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 10081 Location: almost Mile High in the USA
|
Posted: Thu Aug 26, 2021 11:31 pm Post subject: |
|
|
opentmpfiles got masked (use systemd-tmpfiles)
eudev got masked (use systemd-udev)
elogind ...
(was looking for a smiley under a chair but looks like we don't have one here... but yes this hopefully will just remain a joke.) _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 6091 Location: Removed by Neddy
|
Posted: Thu Aug 26, 2021 11:47 pm Post subject: |
|
|
eccerr0r wrote: | opentmpfiles got masked (use systemd-tmpfiles)
eudev got masked (use systemd-udev)
elogind ...
(was looking for a smiley under a chair but looks like we don't have one here... but yes this hopefully will just remain a joke.) |
difference is, elogind isn't a Gentoo project so it should only be removed if it is no longer supported upstream _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
 |
Ionen Developer


Joined: 06 Dec 2018 Posts: 2949
|
Posted: Fri Aug 27, 2021 4:46 am Post subject: |
|
|
Naib wrote: | difference is, elogind isn't a Gentoo project so it should only be removed if it is no longer supported upstream | fwiw blueness (i.e. the last gentoo dev who was occasionally still working on eudev) reached out to other distros that use eudev to give them access to the eudev repo, but believe no one has stepped up so far (they may possibly go the same route and use standalone systemd udev). This ended up becoming a one-man project with no one really helping, and the primary reason was still maintaining this for (musl) isn't an issue anymore.
Edit: And this isn't exactly a project you can ignore and will "work forever". Need to keep up with devices rules, deps/kernel changes, and ensure libudev stays up to date (software will be keeping up with systemd's version, may use new features, and so on). So I'd generally advice against copying eudev to a local repo for those doing it, this is just issues waiting to happen.
gtwrek wrote: | However, I don't use an INSTALL_MASK 'with a blanket "*systemd*" glob' so I should be ok. | For those that do use aggressive masks, a "-/lib/systemd/systemd-udevd" to INSTALL_MASK should be enough to selectively override other masks. It's only a symlink that udevadm uses to recognize that (when it contains *udevd) should start as a daemon -- and if missing, openrc won't know how to start udevd.
It should have been possible to use /sbin/udevd without code changes instead but the original name still helps ensure it won't randomly break in some update. May have been worth using to make the transition safer, but there is also arguments people shouldn't be stripping whole *name* or system directory structures using INSTALL_MASK (instead of say.. /path/to/exact_file, or at most /path/to/*.service, or better yet -- ignoring small files) as it has far reaching implications.
Last edited by Ionen on Fri Aug 27, 2021 2:29 pm; edited 1 time in total |
|
Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9429
|
Posted: Fri Aug 27, 2021 1:08 pm Post subject: |
|
|
eccerr0r wrote: | opentmpfiles got masked (use systemd-tmpfiles)
eudev got masked (use systemd-udev)
elogind ...
 |
Unlike the others, elogind does not have a functional drop-in equivalent. Be aware that it relies on a single maintainer, right now, as well. |
|
Back to top |
|
 |
mid-kid n00b

Joined: 24 Aug 2014 Posts: 16
|
Posted: Thu Sep 02, 2021 10:54 am Post subject: |
|
|
I get the rationale for dropping the hard fork, but after reading the sys-fs/udev ebuild, I can't help but wonder if eudev wouldn't be better off becoming a build harness to more easily build udev without systemd, as well as pre-applying the openembedded patches, and whatever other goodies non-systemd users might need, without being a full hard-fork like eudev was. This is essentially a similar amount of effort as it takes to maintain an ebuild like sys-fs/udev as well as the openembedded patches, and would benefit other distributions as well as provide a single upstream to track the necessary build options/features/additional scripts/patches/configs/etc without having every distribution haphazardly copy each other's build scripts and create minor differences between eachother.
Essentially, what I'm proposing is what the icedtea project has been doing for aeons, and is comparable to perl-cross, wine-staging, or android-tools
Also I'm slightly disappointed to see USE=rule-generator go, as it was a nice in-between of keeping the old interface naming scheme as well as making them persistent across reboots. |
|
Back to top |
|
 |
Zucca Moderator


Joined: 14 Jun 2007 Posts: 4292 Location: Rasi, Finland
|
Posted: Thu Sep 02, 2021 12:20 pm Post subject: |
|
|
I don't see the problem here.
If udev (the systemd one) can be used without systemd, then why not to switch to it?
Same thing goes with tmpfiles -implementation.
Why to waste resources to develop software with identical functionality and goals? One might as well clone the systemd-udevd repo, rename it to ngudev (for example) and call it a day.
If a day comes when these software packages cannot work without systemd, there will be a forks. Trust me.
So... What am I missing here? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
 |
Tony0945 Watchman

Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Sep 02, 2021 1:31 pm Post subject: |
|
|
Zucca wrote: | Why to waste resources to develop software with identical functionality and goals? One might as well clone the systemd-udevd repo, rename it to ngudev (for example) and call it a day.
...
So... What am I missing here? |
It's already developed. The only ebuild maintenance needed is EAPI/python upgrades, which are self-imposed by Gentoo.
The real work would be to remove those future systemd tentacles from that big largely undocumented code base.
You know it will never be done. Instead, Gentoo will join Debian and so many others as a pure systemd distro.
That's the big deal. |
|
Back to top |
|
 |
Zucca Moderator


Joined: 14 Jun 2007 Posts: 4292 Location: Rasi, Finland
|
Posted: Thu Sep 02, 2021 2:21 pm Post subject: |
|
|
If things get bad enough, there are enough people to handle forks or replacements.
There are non-systemd distros out there. And using those distros there are people who are willing to make contributions to those forks or replacements. Non-systemd gentoo users aren't here alone. ;) _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23748
|
Posted: Thu Sep 02, 2021 4:33 pm Post subject: |
|
|
Tony0945 wrote: | Zucca wrote: | So... What am I missing here? | It's already developed. The only ebuild maintenance needed is EAPI/python upgrades, which are self-imposed by Gentoo. | ebuild maintenance may be minor, but as Ionen noted above, that's not the real problem. The problem is that if Gentoo enacts an indefinite freeze at the version of udev (or eudev) that is current today, it will slowly become less compatible as other projects make changes that require the then-current udev.
Maybe a vendor releases a device that needs a udev quirk entry to work around non-compliant behavior. Upstream udev adds that quirk. Does Gentoo pull in that quirk, or declare that hardware unsupported on Gentoo? What if that quirk relies on a configuration directive that was added in a udev release that Gentoo does not use, due to the freeze?
Maybe a popular project, like GNOME, finds yet another way to depend on low level details, and so ceases to work with "old" udev. Does Gentoo fork GNOME to remove that dependency? Patch the old udev to supply that detail? Take a major upgrade to the then-current udev to get the detail from upstream?
Yes, these are hypotheticals, but they or similar situations have happened before. |
|
Back to top |
|
 |
Gatsby Tux's lil' helper


Joined: 18 Jan 2010 Posts: 124 Location: 127.0.0.1
|
Posted: Thu Sep 02, 2021 8:33 pm Post subject: |
|
|
Tony0945 wrote: | Zucca wrote: | Why to waste resources to develop software with identical functionality and goals? One might as well clone the systemd-udevd repo, rename it to ngudev (for example) and call it a day.
...
So... What am I missing here? |
It's already developed. The only ebuild maintenance needed is EAPI/python upgrades, which are self-imposed by Gentoo.
The real work would be to remove those future systemd tentacles from that big largely undocumented code base.
You know it will never be done. Instead, Gentoo will join Debian and so many others as a pure systemd distro.
That's the big deal. |
The systemd-fication of gentoo-linux is (once again) gaining momentum... _________________ "Its your Gentoo, your way. When it breaks, you can keep all the pieces."
-- NeddySeagoon@forums.gentoo.org |
|
Back to top |
|
 |
Zucca Moderator


Joined: 14 Jun 2007 Posts: 4292 Location: Rasi, Finland
|
Posted: Thu Sep 02, 2021 9:04 pm Post subject: |
|
|
As an OpenRC user I'm quite puzzled...
I'm happy to use some of the components of the systemd project that I need to get my system running smoothly without systemd.
Am I a blind sheep stepping into a trap for using such software from systemd? You decide. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
 |
Gatsby Tux's lil' helper


Joined: 18 Jan 2010 Posts: 124 Location: 127.0.0.1
|
Posted: Thu Sep 02, 2021 9:20 pm Post subject: |
|
|
Zucca wrote: | Am I a blind sheep stepping into a trap for using such software from systemd? |
Time will tell. _________________ "Its your Gentoo, your way. When it breaks, you can keep all the pieces."
-- NeddySeagoon@forums.gentoo.org |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55498 Location: 56N 3W
|
Posted: Thu Sep 02, 2021 10:03 pm Post subject: |
|
|
As eudev existed this didn't happen.
kdbus and busone seemed to have gone away and the threat appears to have receded ... for now.
However, Red Hat still need a kernel wrapper as a part of their Windowification of Linux, so the reprieve is, in my opinion, only temporary.
Static /dev still works for me, so that's my systemd/udev/eudev avoidance path. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Zucca Moderator


Joined: 14 Jun 2007 Posts: 4292 Location: Rasi, Finland
|
Posted: Thu Sep 02, 2021 10:14 pm Post subject: |
|
|
Gatsby wrote: | Zucca wrote: | Am I a blind sheep stepping into a trap for using such software from systemd? |
Time will tell. | Exactly. And if things go "the systemd way" we have many ways out. So the sheep can still escape. ;)
No need to fear systemd. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
 |
Tony0945 Watchman

Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Sep 02, 2021 10:28 pm Post subject: |
|
|
I think the sheep are ones baaaing their way to the slaughter. Not the ones refusing to follow the Judas Goat. |
|
Back to top |
|
 |
Gatsby Tux's lil' helper


Joined: 18 Jan 2010 Posts: 124 Location: 127.0.0.1
|
Posted: Thu Sep 02, 2021 10:50 pm Post subject: |
|
|
Zucca wrote: | And if things go "the systemd way" we have many ways out. |
If things go the full systemd way, the only way "out" will be straight to the slaughtering block.
Zucca wrote: | No need to fear systemd. |
You should better beware of it, otherwise you will end like the Trojans after they pulled the Greek gift (Trojan horse) into their fortifications. _________________ "Its your Gentoo, your way. When it breaks, you can keep all the pieces."
-- NeddySeagoon@forums.gentoo.org |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20630
|
Posted: Fri Sep 03, 2021 12:14 am Post subject: |
|
|
Discussion reminder, particularly involving systemd:
Historical patterns strongly indicate that as comments trend farther from constructive, chances significantly increase that the opportunity for discussion ends.
Zucca wrote: | What am I missing here? | People have different opinions and not everyone agrees with the current path.
Based on the lack of code or links thereto, I'm not aware of anyone exchanging their pitchfork and torch for a shovel and a pick. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20630
|
Posted: Sun Sep 05, 2021 6:11 am Post subject: |
|
|
Ionen wrote: | For those that do use aggressive masks, a "-/lib/systemd/systemd-udevd" to INSTALL_MASK should be enough to selectively override other masks. It's only a symlink that udevadm uses to recognize that (when it contains *udevd) should start as a daemon -- and if missing, openrc won't know how to start udevd.
It should have been possible to use /sbin/udevd without code changes instead but the original name still helps ensure it won't randomly break in some update. May have been worth using to make the transition safer, but there is also arguments people shouldn't be stripping whole *name* or system directory structures using INSTALL_MASK (instead of say.. /path/to/exact_file, or at most /path/to/*.service, or better yet -- ignoring small files) as it has far reaching implications. | Is there a recommended way to return a system to "normal" after unsetting INSTALL_MASK?
Although it turns out I'm not using eudev on that system, I'm trying to reduce as much unnecessary friction as possible. It is currently set with INSTALL_MASK=" /usr/lib/systemd".
Thanks. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9429
|
Posted: Sun Sep 05, 2021 6:59 am Post subject: |
|
|
I guess you could try
Code: | $ emerge -vp /usr/lib/systemd |
|
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20630
|
Posted: Mon Sep 06, 2021 7:38 pm Post subject: |
|
|
asturm wrote: | I guess you could try
Code: | $ emerge -vp /usr/lib/systemd |
| Thanks, I never think of being able to do that. Unfortunately it didn't work, but it reminded me that binary packages contain what they install. Apparently only gnupg and pam need reinstalling. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
|