[systemd-devel] TimeoutStopSec is ignored (regression)
Ross Lagerwall
rosslagerwall at gmail.com
Sat Nov 29 03:35:04 PST 2014
Hi,
On recent versions of systemd, unit_kill_context doesn't set
wait_for_exit to true which means that service_enter_signal sends
SIGTERM, immediately moves into stop-sigkill and sends SIGKILL, ignoring
TimeoutStopSec and often killing processes without giving them a chance
to cleanup.
Reverting the following change, fixes the problem:
commit 1baccdda2e954214e0c5463d6ed8f06009b33c41
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 02:22:11 2014 +0100
core: don't wait for non-control/non-main processes when killing processes on the host either
Since the current kernel cgroup notification logic is easily confused by
existing subgroups, let's do the same thing as in containers before. and
just not wait for non-control and non-main processes.
This should be corrected as soon as we have sane cgroup notifications
from the kernel.
Thanks
--
Ross Lagerwall
More information about the systemd-devel
mailing list