News for hackers. Stuff that matters.
Re:Systemd Wants to Expand to Include a Sudo Replacement by bryanlarsen on Tuesday April 30, 2024 @12:55PM (#40213200)
I doubt you'll need to run systemd as pid 1 to use this.
Re:Systemd Wants to Expand to Include a Sudo Replacement by navaati on Tuesday April 30, 2024 @02:44PM (#40214620)
Oh 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.

Re:Systemd Wants to Expand to Include a Sudo Replacement by bryanlarsen on Tuesday April 30, 2024 @03:46PM (#40215434)
IPC 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.
Re:Systemd Wants to Expand to Include a Sudo Replacement by dijit on Tuesday April 30, 2024 @08:02PM (#40217986)
are 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.
Re:Systemd Wants to Expand to Include a Sudo Replacement by jacoblambda on Tuesday April 30, 2024 @08:44PM (#40218270)
There 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/