]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: let's make unified cgroupsv2 the default
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Sep 2018 12:09:54 +0000 (14:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 24 May 2019 14:44:26 +0000 (16:44 +0200)
Prompted by @evverx' comments:

https://github.com/systemd/systemd/pull/10161#pullrequestreview-158327715

NEWS
meson_options.txt

diff --git a/NEWS b/NEWS
index 0592e697bb532e2b862b5e27da11225311c851eb..8cbef59017bc2aa67e731b5bb945b5f942415e27 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,16 @@ CHANGES WITH 243 in spe:
         * Memory protection directives can now take a value of zero, allowing
           explicit opting out of a default value propagated by an ancestor.
 
+        * systemd now defaults to the "unified" cgroup hierarchy setup during
+          build-time, i.e. -Ddefault-hierarchy=unified is now the build-time
+          default. Previously, -Ddefault-hierarchy=hybrid was the default. This
+          change reflects the fact that cgroupsv2 support has matured
+          substantially in both systemd and in the kernel, and is clearly the
+          way forward. Downstream production distributions might want to
+          continue to use -Ddefault-hierarchy=hybrid (or even =legacy) for
+          their builds as unfortunately the popular container managers have not
+          caught up with the kernel API changes.
+
           …
 
 CHANGES WITH 242:
index 4a8e73bc5945902e5520644d530a655c98ca6798..494a8de43c487ec17f145ea0a6a411f549267473 100644 (file)
@@ -156,7 +156,7 @@ option('fallback-hostname', type : 'string', value : 'localhost',
 option('compat-gateway-hostname', type : 'boolean', value : 'false',
        description : 'allow "gateway" as the symbolic name for default gateway')
 option('default-hierarchy', type : 'combo',
-       choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
+       choices : ['legacy', 'hybrid', 'unified'], value : 'unified',
        description : 'default cgroup hierarchy')
 option('default-net-naming-scheme', type : 'combo',
        choices : ['latest', 'v238', 'v239', 'v240'],