From bc432dc7eb62c5671f2b741a86a66393adb350dc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 14 Feb 2014 19:11:07 +0100 Subject: 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. --- src/core/dbus-service.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/dbus-service.c') diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c index 73cf17541a..0451790d83 100644 --- a/src/core/dbus-service.c +++ b/src/core/dbus-service.c @@ -258,6 +258,8 @@ int bus_service_set_property( int bus_service_commit_properties(Unit *u) { assert(u); + unit_update_cgroup_members_masks(u); unit_realize_cgroup(u); + return 0; } -- cgit v1.2.3-54-g00ecf