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
[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.
