summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-11-10 05:33:13 +0100
committerSven Eden <yamakuzure@gmx.net>2017-07-17 17:58:35 +0200
commitb5f1976b7a6c8b3cb7c5befa72aee4b4688f9c81 (patch)
tree3201578d3c42fc359879cabe50dbbf9a6ced9c0a /src
parent5b75195d7551cd03ceb525aeb0f784d85e14dca2 (diff)
core: don't use the unified hierarchy for the elogind cgroup yet (#4628)
Too many things don't get along with the unified hierarchy yet: * https://github.com/opencontainers/runc/issues/1175 * https://github.com/docker/docker/issues/28109 * https://github.com/lxc/lxc/issues/1280 So revert the default to the legacy hierarchy for now. Developers of the above software can opt into the unified hierarchy with "elogind.legacy_elogind_cgroup_controller=0".
Diffstat (limited to 'src')
-rw-r--r--src/basic/cgroup-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
index b95d70a18..d499da1dc 100644
--- a/src/basic/cgroup-util.c
+++ b/src/basic/cgroup-util.c
@@ -2489,10 +2489,10 @@ bool cg_is_unified_systemd_controller_wanted(void) {
r = get_proc_cmdline_key("systemd.legacy_systemd_cgroup_controller=", &value);
if (r < 0)
- return true;
+ return false;
if (r == 0)
- wanted = true;
+ wanted = false;
else
wanted = parse_boolean(value) <= 0;
}