Stupid systemd question 01 July 2024, 03:46:12 When did systemd start managing passwords etc.I booted up an Arch Linux device yesterday and saw lots of tempfs /run/credentials/systemd entries in df -hGuess I never really paid much attention and never really noticed. Last Edit: 01 July 2024, 04:39:56 by cds
Re: Stupid systemd question Reply #1 – 01 July 2024, 07:26:01 Maybe from there:https://github.com/tmux/tmux/issues/428https://mail.gnome.org/archives/desktop-devel-list/2011-May/msg00427.htmlSource : https://unixdigest.com/articles/the-real-motivation-behind-systemd.html 4 Likes
Re: Stupid systemd question Reply #2 – 01 July 2024, 20:17:12 It starts from here (2021):https://github.com/systemd/systemd/commit/5945640e2af1c5ebba0b8c1329f077baf90d31c9This is explained in more detail here: https://systemd.io/CREDENTIALStl;dr it's an overspecialized mechanism for populating /run/my_daemon with a few bits of a data.The tmux thing isn't really related to the credentials thing. It's basically about systemd (ab)using cgroups for process tracking so desktop environments don't have to fix their daemons to respect the standard process tracking mechanisms (sessions and POSIX process groups). When everything else that used the original mechanism gets broken, of course they go and ask them to special case systemd, adding another node of dependencies that makes it even more difficult for binary distros to meaningfully support multiple inits.Thankfully the maintainer said no and the far better solution of a systemd-run -- tmux wrapper was adopted. Last Edit: 01 July 2024, 20:35:05 by capezotte 4 Likes
Re: Stupid systemd question Reply #3 – 02 August 2024, 18:27:10 >"When did systemd start managing passwords etc."Systemd does everything, apparently.
Re: Stupid systemd question Reply #4 – 03 August 2024, 10:43:38 I wait in trepidation for systemd-ai-does-your-job 1 Likes