core: don't wait for non-control/non-main processes when killing processes on the...
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Feb 2014 01:22:11 +0000 (02:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 5 Feb 2014 01:22:11 +0000 (02:22 +0100)
commit1baccdda2e954214e0c5463d6ed8f06009b33c41
tree7ae5e2e74947b9aa9340a896047f9943fcc2bc7d
parentb4f052a05ab66d78290892382f33f20593001064
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.
src/core/unit.c