Bug#943981: Proposal: Switch to cgroupv2 by default

Noah Meyerhans noahm at debian.org
Fri Nov 1 23:05:07 GMT 2019


Package: systemd
Severity: wishlist
Version: 242-7
Tags: patch

I'd like to propose that we switch to cgroupv2 as the default
configuration for the bullseye release.  This has the potential to
impact quite a few packages (notably, it breaks Docker today), so I
don't think it can be done without engaging with a broader subsection of
the developer community, but this seems like a reasonable place to
start.  By making this transition soon, I expect that we can iron out
the issues well in advance of the bullseye release.

Detailed documentation of cgroupv2 can be found at
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html, with
rationales and comparison against v1 documented under the "Issues with
v1 and Rationales for v2" heading.

>From systemd's perspective, the switch may be as simple as adding
"-Ddefault-hierarchy=unified" to the configuration options in
debian/rules.  A minimal patch to implement this change is attached.

Thanks
noah

-------------- next part --------------
A non-text attachment was scrubbed...
Name: default-hierarchy=unified.patch
Type: text/x-diff
Size: 532 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20191101/3148378a/attachment.patch>


More information about the Pkg-systemd-maintainers mailing list