

I don't think that's correct. I looked in the .ebuild and, so far as I can see, the code is taken directly from the systemd github repo. The major contributors to that repo are names that we associate with systemd.sMueggli wrote:The short answer: systemd-utils is the non-systemd udev alternative.
Code: Select all
RDEPEND="${COMMON_DEPEND}
boot? ( !<sys-boot/systemd-boot-250 )
ukify? (
${PYTHON_DEPS}
$(python_gen_cond_dep "${PEFILE_DEPEND}")
)
tmpfiles? ( !<sys-apps/systemd-tmpfiles-250 )
udev? (
acct-group/audio
acct-group/cdrom
acct-group/dialout
acct-group/disk
acct-group/floppy
acct-group/input
acct-group/kmem
acct-group/kvm
acct-group/lp
acct-group/render
acct-group/sgx
acct-group/tape
acct-group/tty
acct-group/usb
acct-group/video
!sys-apps/gentoo-systemd-integration
!sys-apps/hwids[udev]
!<sys-fs/udev-250
!sys-fs/eudev
)
!sys-apps/systemd
"Code: Select all
0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
I would prefer, if possible, to avoid anything that is associated with systemd in any way. My reasons are my own, and I'm not interested in justifying them -- too much ink has been spilled already. But from the discussions I see on this forum, I'm sure I'm not alone. What I'm really interested in is whether it's reasonably practicable on Gentoo to avoid systemd-utils udev. If it's not, that's disappointing, but not a show-stopper.sMueggli wrote: As far as I understand it, udev is open source. So what problem do you have if "systemd people" are contributing to an open source project that they are hosting? Do "systemd people" have a wrong understanding of userspace /dev?
With lvm you should be able to create the nodes without udev. I use it inside my initramfs. I'm not sure how well that fares outside of initramfs.pa4wdh wrote:However, it's limitations (especially with it comes to devicemapper) make it unusable for my use cases.
Code: Select all
0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
You are looking for alternatives for a software. At least now this conversation fits better in chat.lars_the_bear wrote:This feels like an installation issue to me. But whatever.
BR, Lars.
Code: Select all
0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Fair point. I'm just not sure there is one. All the alternatives seem to be either old (eudev, static dev) or designed for very minimal set-ups (mdev). I'm just trying to work out what alternatives there might be, if any. I'm not desperately concerned about systemd-utils -- not enough to try to create my own udev, anyway. It would be nice if eudev remained a first-class part of Gentoo (as I presume that elogind is), but I fully understand the difficulties that would raise.Zucca wrote:...I'd suggest you to start a new topic with the udev implementation name in the title, so it can reach more those who are familiar with the specific implementation.

I wouldn't say 'static-dev' is old, at least not in the same sense as 'eudev', which is software requiring a lot of maintenance, which it didn't get, and which is why it was removed as the default as well as from the official Gentoo repository.lars_the_bear wrote:All the alternatives seem to be either old (eudev, static dev) or designed for very minimal set-ups (mdev).

Sure. This is what I do on my embedded ARM Linux systems. I don't run udevd at all. But there I have fixed hardware, known in advance. It even works with Xorg, if you're using completely fixed hardware, and don't mind writing X config files, as we did in the old days.Chiitoo wrote: The method and guide referred to might be a bit old, though, but essentially it just means you're doing things manually.
Maybe i should look into this again, last time was a few years ago. My (server) setup is a combination of mdraid, lvm and dmcrypt stacked together and that was a show-stopper back then.Zucca wrote:With lvm you should be able to create the nodes without udev. I use it inside my initramfs. I'm not sure how well that fares outside of initramfs.pa4wdh wrote:However, it's limitations (especially with it comes to devicemapper) make it unusable for my use cases.
(my emphasis)lars_the_bear wrote:I would prefer, if possible, to avoid anything that is associated with systemd in any way. My reasons are my own, and I'm not interested in justifying them -- too much ink has been spilled already.
Code: Select all
0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001

Well, mdevd is compatible with mdev and configured with an /etc/mdev.conf file, so if its limitations make mdev unusable for your use cases, mdevd will also be unusable...pa4wdh wrote:I also just found mdevd, a mdev compatible daemon separate from the busybox project. I haven't looked enough into this to see it that fits my use cases.
https://skarnet.org/software/mdevd/
Link?elbci wrote:But scarier still was reading a Slackware similar discussion, someone asking if some package (elonging?) was systemd or not. Basically the guy got this answer: "you don't like it - we don't care. Shut up or get banned".
There are historical reasons for that, but, in 2024, I simply feel that all there is to say about systemd has already been said.lars_the_bear wrote:It's a shame that it's impossible to discuss any aspect of systemd without provoking a heated response. I'm not a fan of systemd, but I hope I am at least able to discuss it without frothing at the mouth.
In the udev part of the code?lars_the_bear wrote:My concern about systemd_udevd is that it doesn't really seem to be independent of the rest of systemd. Looking at the source code, I see many calls to bus_connect_system_systemd() which connects to systemd via a socket at /run/systemd/private.
That's a sentiment shared by many people, and it explains udev's status quolars_the_bear wrote:The lack of a non-systemd udevd seems to be a serious problem for everybody who doesn't want to buy into systemd.
Having said that, I don't have the time to write and maintain one.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though
I don't see anything heated here, except that self-proclaimed troll post which should be completely ignored. And even that response doesn't seem heated to me. Don't take the fact that others don't agree with your idea of reality for heated response. Also, don't take it personally.lars_the_bear wrote:It's a shame that it's impossible to discuss any aspect of systemd without provoking a heated response. I'm not a fan of systemd, but I hope I am at least able to discuss it without frothing at the mouth.
Then somebody will do something about it.lars_the_bear wrote:Then what?

https://github.com/systemd/systemd/blob ... m-util.c[b][/b], line 25, for example.GDH-gentoo wrote: In the udev part of the code?
Inconsequential spam with a whiff of "I own this internet". Pls refrain from further exhibiting your unwaranted superiority simplicity. Thank you.logrusx wrote:Could you please go somewhere else next time. Thank you.
Constructive! Simple, concise, yet hope giving. Thnx!! [Goes off searching for the sticky "How can you help"]Zucca wrote:Currently we're exploring the possibilities of replacing only systemd-udev.
GDH-gentoo wrote:Well, mdevd is compatible with mdev and configured with an /etc/mdev.conf file, so if its limitations make mdev unusable for your use cases, mdevd will also be unusable...pa4wdh wrote:I also just found mdevd, a mdev compatible daemon separate from the busybox project. I haven't looked enough into this to see it that fits my use cases.
https://skarnet.org/software/mdevd/

I looked it up. This file, at least, is one of the source files compiled into /usr/bin/udevadm.lars_the_bear wrote:https://github.com/systemd/systemd/blob ... m-util.c[b][/b], line 25, for example.GDH-gentoo wrote: In the udev part of the code?
There are other references. I honestly don't know whether these code elements are part of the udevd daemon, or just the udevadm command-line utility. Possibly the latter.
There is a soft commitment by the systemd developers that as long as you don't mind building the systemd repository, you can install components such as udev without using systemd as your init system.lars_the_bear wrote: In the end, I'm not sure it makes much difference. Unless the systemd guys have made a solemn undertaking to keep systemd_udevd independent of the rest of systemd, I think it has to be regarded as vulnerable. Not every part of systemd is integrated with every other part, but I think the development tendency is in that direction. I'm fairly sure that, if it would make systemd work better as a whole to have udevd more tightly integrated, the maintainers wouldn't hesitate to make that change.
Much of the reason that forks of systemd such as eudev failed in the past is because a number of people who would have otherwise worked on them, decided it wasn't worth the time and effort when udev can be built from the systemd repo and used on its own, without using systemd as init.lars_the_bear wrote: But perhaps I'm being pessimistic. I don't know what conversations there might have been in the past, between the Gentoo folks and the systemd folks. I'd like to hope that, if the systemd maintainers felt it would be beneficial to make udevd a more tightly-integrated part of systemd, they'd realize the impact that would have on some other Linux distributions, and would at least make it swtichable. Unlike the haters and conspiracy theorists, I hold to the view that the systemd maintainers are basically decent people, who care about the future of Linux.

Should that need arise after I have retired (next year, all being well), I'd be happy to help out. I don't want to simply moan about systemd, and then do nothing to support the alternatives.eschwartz wrote: I strongly suspect that the day systemd makes this impossible will be the day that eudev re-forks the latest version of systemd that was possible to build a standalone udev, and rebases on that.