diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-19 00:09:31 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-22 11:49:40 -0500 |
commit | f98220a22ff0c48805ae636a380571a177824500 (patch) | |
tree | f99cccb500be02f071209d3919533cbdb2b751e4 | |
parent | 5a94b18752befd7cfb9961cad2b5dc4415036027 (diff) |
build-sys: default to hybrid cgroup hierarchy
It is expected that general-purpose distributions might want to override this.
This commit is made separate from grandparent to make it easy to revert if
needed.
v2:
- use hybrid as the default
(We tested that the default of unified seems boot correctly everywhere and behave
correctly in general, but it is incompatible with docker/lxc and probably some
other tools, so for now we default to hybrid. The new "hybrid" mode should work
be OK for those tools.)
Fixes #4669.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f671d7e1b5..eff7fbb291 100644 --- a/configure.ac +++ b/configure.ac @@ -616,9 +616,9 @@ AC_DEFINE_UNQUOTED(FALLBACK_HOSTNAME, ["$FALLBACK_HOSTNAME"], [The hostname used AC_ARG_WITH(default-hierarchy, AS_HELP_STRING([--with-default-hierarchy=MODE], - [default cgroup hierarchy, defaults to "legacy"]), + [default cgroup hierarchy, defaults to "hybrid"]), [DEFAULT_HIERARCHY="$withval"], - [DEFAULT_HIERARCHY="legacy"]) + [DEFAULT_HIERARCHY="hybrid"]) AS_CASE("$DEFAULT_HIERARCHY", [legacy], [mode=CGROUP_UNIFIED_NONE], |