Permalink
Browse files

core: one step back again, for nspawn we actually can't wait for cgro…

…ups running empty since systemd will get exactly zero notifications about it
  • Loading branch information...
poettering committed Feb 7, 2014
1 parent 4e05c49 commit 743970d2ea6d08aa7c7bff8220f6b7702f2b1db7
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/core/unit.c
View
@@ -3103,7 +3103,15 @@ int unit_kill_context(
log_warning_unit(u->id, "Failed to kill control group: %s", strerror(-r));
} else if (r > 0) {
wait_for_exit = true;
/* FIXME: For now, we will not wait for the
* cgroup members to die, simply because
* cgroup notification is unreliable. It
* doesn't work at all in containers, and
* outside of containers it can be confused
* easily by leaving directories in the
* cgroup. */
/* wait_for_exit = true; */
if (c->send_sighup && !sigkill) {
set_free(pid_set);

0 comments on commit 743970d

Please sign in to comment.