On Mon, Jan 27, 2014 at 1:13 PM, Andrey Borzenkov <arvidj...@gmail.com> wrote: > В Mon, 27 Jan 2014 07:43:55 +0100 > Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl> пишет: > >> Looks like we need a setting like SendKillSignalTo=main-pid|all|control-pid. > > Quoting from this thread > >> > > I don't think we want any processes to survive the exit of >> > > user@.service, > > So why would we need this setting? Final kill should go to all remaining > processes; what is scenario where it would *not*? > > So may be we simply need to make final kill independent of KillMode. > > I'm fine with having separate setting for SIGTERM and SIGKILL, just do > not see use case for the latter. > > Having KillMode=process and ensuring that final kill really attempts to > kill everything would be enough to fix this problem. Except in this > case KillMode probably has to be renamed to something else, like > SendTermSignalTo= ...
I think we could avoid all this be just not using async signals at all unless something is broken and we need to go on a killing-spree. -t _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel