]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/main.c
core: remove JoinControllers= configuration setting
authorLennart Poettering <lennart@poettering.net>
Thu, 15 Nov 2018 20:07:43 +0000 (21:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 13:54:13 +0000 (14:54 +0100)
commit143fadf369a18449464956206226761e49be1928
tree9ff2d69cbebfba21bb18465ae861556443bc159c
parent8d33dca2ff77c7f58a15badb53a5bb313d9b79d4
core: remove JoinControllers= configuration setting

This removes the ability to configure which cgroup controllers to mount
together. Instead, we'll now hardcode that "cpu" and "cpuacct" are
mounted together as well as "net_cls" and "net_prio".

The concept of mounting controllers together has no future as it does
not exist to cgroupsv2. Moreover, the current logic is systematically
broken, as revealed by the discussions in #10507. Also, we surveyed Red
Hat customers and couldn't find a single user of the concept (which
isn't particularly surprising, as it is broken...)

This reduced the (already way too complex) cgroup handling for us, since
we now know whenever we make a change to a cgroup for one controller to
which other controllers it applies.
man/systemd-system.conf.xml
src/core/main.c
src/core/mount-setup.c
src/core/mount-setup.h
src/core/system.conf.in
src/shared/conf-parser.c
src/shared/conf-parser.h
src/test/test-conf-parser.c
test/fuzz/fuzz-unit-file/directives.service