Hacker News new | ask | show | jobs
by bjarnek 2069 days ago
systemd is hanging in 90% of all shutdowns on my machine. This never happened with sysvinit scripts.
1 comments

There is a one-line fix for that. Change this line in /etc/systemd/system.conf:

  DefaultTimeoutStopSec=2s
That's a workaround, not a a fix and might break applications which legitimately need more time to stop!

A proper fix is to integrate startup and shutdown of all applications with systemd. That's something not properly supported everywhere yet. For example for KDE that's currently in the works: https://blog.davidedmundson.co.uk/blog/plasma-and-the-system...

It's not much of a fix, it is a workaround. The stuff that systemd says is broken will continue be broken.