4 ms·
It really is not. This "sudo replacement" (which under the hood is systemd-run) will apparently require quite a bit of the systemd stack to operate. That is not
by CuriousCosmic 2y ago
It really is not. This "sudo replacement" (which under the hood is systemd-run) will apparently require quite a bit of the systemd stack to operate. That is not something you have access to in many lightweight container distros or on other non-systemd distros.
And coreutils is expected because most people use GNU/Linux. Coreutils is that GNU userland part. And either way, the majority of coreutils are GNU implementations of standard unix components. You can use most software that depends on coreutils on other *nix platforms like BSD for this reason.
- bryanlarsen 2y agoI doubt you'll need to run systemd as pid 1 to use this.
- navaati 2y agoOh you do: this work completely differently from sudo, there is no suid binary involved, instead it does IPC to the systemd pid 1 and asks it to spawn you process, attached to your current terminal. So if you don't have systeme as pid 1, it'll have noone to talk to. Whether you like that or not is for you to decide.
- bryanlarsen 2y agoIPC will likely be over d-bus. The new process will fork off a systemd which is almost always pid 1, but it might not have to be.
- dijit 2y agoare there any non-systemd DBus options anymore? I had a hard time a year ago setting up Gentoo because there were no maintained options at that time.
- CuriousCosmic 2y agoThere are. Gentoo has actually always used the FreeDesktop reference implementation instead of sd-bus (the systemd implementation). FreeDesktop also maintains a list of implementations (also including bindings so you have to read to find which ones are full impls vs libdbus bindings). https://www.freedesktop.org/wiki/Software/DBusBindings/ https://www.freedesktop.org/wiki/Software/DBusBindings/
- deleted 2y ago[deleted]