Trixie - Another Poettering Fuckfest
Recently upgraded a Debian shell server here from Bookworm to Trixie. This is a warning to those considering this move.
Leonard Poettering has fuxored us once again with systemd-logid. He has decided that rather than maintaining a simple structured list of logged in users in var/run/utmp, he now wants you to talk to sytemd-logind via dbus to get the information.
This turns once simple utilities like who, w, rwhod, mesg, talk, into nightmares of code, if they actually get adapted.
Some, like who, have decided to forgo the dbus/systemd debacle and instead walk /run/systemd/sessions/ directory, open and parse each session file, clearly a more elegant approach than reading a simple file that is a simple array of structures.
Clearly more efficient, NOT! ARRRRGGGHHH!