Bug#943981: Proposal: Switch to cgroupv2 by default

Michael Biebl biebl at debian.org
Sat Nov 2 12:54:13 GMT 2019


Hi Noah

Am 02.11.19 um 00:05 schrieb Noah Meyerhans:
> 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

Afaics, lxc is also affected, which is quite an issue, given that our CI
is based on LXC (on stable though, so this would only affect bullseye if
we decided to stick with v2).

> 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.


Fwiw, systemd in experimental already defaults to cgroupv2 (it's the
default since v243), which is why I haven't uploaded it to unstable yet.

We'll have to work out a plan how to best proceed here.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20191102/223c68e2/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list