systemd (PID 1) deadlocking with agetty due to a flock on /dev/console after restarting a service. Wow, that's not the kind of fun I expected to see on Debian stable! 😱

Browsing the issues it looks like systemd 257 was a particularly cursed release, and that's exactly the one trixie managed to land on.

Show thread
Follow

So this was already fixed in a later version, but cherry-picking the fix back to 257 isn't trivial, ending up with huge conflicts as the patch refactors some stuff that were also touched by earlier commits that fix eight issues at once, co-developed by Claude 🤮 So I just rewrote the fix myself in three lines of code...

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml