summaryrefslogtreecommitdiff
path: root/src/core/dbus-scope.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-14 19:11:07 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-17 15:49:21 +0100
commitbc432dc7eb62c5671f2b741a86a66393adb350dc (patch)
treeb7fb6ea81706fa02363c842cd233387d6b777bf9 /src/core/dbus-scope.c
parentb1e90ec515408aec2702522f6f68c4920b56375b (diff)
core: rework cgroup mask propagation
Previously a cgroup setting down tree would result in cgroup membership additions being propagated up the tree and to the siblings, however a unit could never lose cgroup memberships again. With this change we'll make sure that both cgroup additions and removals propagate properly.
Diffstat (limited to 'src/core/dbus-scope.c')
-rw-r--r--src/core/dbus-scope.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c
index d02569608c..73b7bbf18c 100644
--- a/src/core/dbus-scope.c
+++ b/src/core/dbus-scope.c
@@ -187,7 +187,9 @@ int bus_scope_set_property(
int bus_scope_commit_properties(Unit *u) {
assert(u);
+ unit_update_cgroup_members_masks(u);
unit_realize_cgroup(u);
+
return 0;
}