[systemd-devel] [PATCH] service: kill processes with SIGKILL on watchdog failure
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue May 21 06:27:15 PDT 2013
On Sun, May 19, 2013 at 12:10:55PM +0200, Michael Olbrich wrote:
> Just calling service_enter_dead() does not kill any processes.
> As a result, the old process may still be running when the new one is
> started.
> After a watchdog failure the service is in an undefined state.
> Using the normal shutdown mechanism makes no sense. Instead all processes
> are just killed and the service can try to restart.
Applied.
(I thought for a while whether we should allow normal shutdown for
watchdog-failed services. Sometimes that could be useful, but for
the majority of cases just killing the process is probably the right
option.)
Zbyszek
More information about the systemd-devel
mailing list