[systemd-devel] Allow stop jobs to be killed during shutdown
Reindl Harald
h.reindl at thelounge.net
Fri Jan 24 07:09:59 PST 2014
Am 24.01.2014 16:03, schrieb Lennart Poettering:
> It is our job to shutdown all services cleanly. A number of services
> needs this, since they need to bring their files into a safe state
> before quitting, and mark them as "offline". We cannot just drop that.
>
> Note however, that we add have timeouts on all service shutdown
> commands, so when some service hangs it will be forcibly aborted with
> SIGKILL after 90s.
>
> That all said, you can just shutdown with "systemctl poweroff -f"
> instead of normal "systemctl poweroff". This will still bring the file
> systems in order and things, but wil not bother with shutting down
> system services cleanly, but simply SIGTERM and SIGKILL them after a
> much shorter timeout.
>
> However, something like that can never be the default, we need to give
> services the chance to shut down cleanly and in the right order
then bugs like https://bugzilla.redhat.com/show_bug.cgi?id=1023820
and https://bugzilla.redhat.com/show_bug.cgi?id=1023788 should be fixed
much faster or never make it in a stable release
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140124/7e635f17/attachment.pgp>
More information about the systemd-devel
mailing list