|
|
Log in / Subscribe / Register

Changing Fedora's shutdown timeouts

Changing Fedora's shutdown timeouts

Posted Jan 27, 2023 11:19 UTC (Fri) by intelfx (subscriber, #130118)
In reply to: Changing Fedora's shutdown timeouts by kleptog
Parent article: Changing Fedora's shutdown timeouts

> Since most processes don't install a signal handler for SIGKILL, such processes become immune to SIGKILL. Of course, many programs don't install a SIGTERM handler either, but that's somewhat more common.
>
> This is the reason many container guides suggest using something like systemd, supervisord, dumb-init, tini, etc as the root process because those *do* install a SIGKILL handler which properly exits. The symptom is pretty clear: killing your container takes ages.

There is something wrong. signal(7) says (in the Standard signals) that “the signals SIGKILL and SIGSTOP cannot be caught, blocked, or ignored”.

That’s the whole point of SIGKILL.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


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