|
|
Log in / Subscribe / Register

Changing Fedora's shutdown timeouts

Changing Fedora's shutdown timeouts

Posted Jan 18, 2023 23:36 UTC (Wed) by xecycle (subscriber, #140261)
Parent article: Changing Fedora's shutdown timeouts

More often than bugs in services I run into bugs in kernels (e.g. recently amdgpu, or nfs some years ago), or sometimes "integration" bugs in some program X's interactions with systemd (e.g. leftover scope units from podman [1]), or my config of systemd [2]. Among these, kernel bugs usually cause infinite waits; I hope they actually configure that timeout into the hardware watchdog. I'd be disappointed if the outcome of such a long discussion does not reliably work in all cases.

[1] say podman run rust:1 sleep infinity, bang this would stay forever. It can be killed when systemd finally gives up waiting, but before that, the signal never made it to the sleep process, thus my waiting for a "shutdown" that did not even start feels stupid. I believe I should not "fix" the image; either podman should fix its use of scopes, or systemd should detect a PID 1 and behave differently.

[2] hit this once, when pvscan service decided to start a dmeventd directly, because dmeventd.socket was not started (my bad, did not enable it), and boom a leftover process in pvscan service after the main process exited. Like above, this is also never started to shutdown because no signal was delivered.

Experienced these cases, I feel that maybe we could be more clever in sending out the initial kills, but well, out of scope of the original discussion.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds