Re: [systemd-devel] [PATCH] service: kill processes with SIGKILL on watchdog failure

2013-06-06 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 06, 2013 at 09:13:48AM +0200, Lennart Poettering wrote: > On Tue, 21.05.13 15:27, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > > > On Sun, May 19, 2013 at 12:10:55PM +0200, Michael Olbrich wrote: > > > Just calling service_enter_dead() does not kill any processes. > >

Re: [systemd-devel] [PATCH] service: kill processes with SIGKILL on watchdog failure

2013-06-06 Thread Lennart Poettering
On Tue, 21.05.13 15:27, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > 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 > > star

Re: [systemd-devel] [PATCH] service: kill processes with SIGKILL on watchdog failure

2013-05-24 Thread Hoyer, Marko (ADITG/SW2)
> 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. Thx for the fast response and alternative patch. I tested it in my environment as well and it works as expected killing the processes without execut

Re: [systemd-devel] [PATCH] service: kill processes with SIGKILL on watchdog failure

2013-05-21 Thread Zbigniew Jędrzejewski-Szmek
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 sh

[systemd-devel] [PATCH] service: kill processes with SIGKILL on watchdog failure

2013-05-19 Thread Michael Olbrich
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