]> git.proxmox.com Git - pve-docs.git/commitdiff
pct: clarify needed systemd-versions for cgroupv2 support
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 1 Jul 2021 09:28:54 +0000 (11:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jul 2021 14:42:22 +0000 (16:42 +0200)
versions determined through systemd's changelog, and a few empiric
tests.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
pct.adoc

index b03b6ba7e96e5d5ba2dd8653cfc5a523262e27a3..42826bdd4329822a1f4d91d138f85c34a396c872 100644 (file)
--- a/pct.adoc
+++ b/pct.adoc
@@ -518,8 +518,17 @@ Another important difference is that the 'devices' controller is configured in a
 completely different way. Because of this, file system quotas are currently not
 supported in a pure 'cgroupv2' environment.
 
-If file system quotas are not required and the containers are new enough to
-understand 'cgroupv2', it is recommended to stick to the new default.
+'cgroupv2' support by the container's OS is needed to run in a pure 'cgroupv2'
+environment. Containers running 'systemd' version 231 or newer support
+'cgroupv2' footnote:[this includes all newest major versions of container
+templates shipped by {pve}], as do containers not using 'systemd' as init
+system footnote:[for example Alpine Linux].
+
+NOTE: CentOS 7 and Ubuntu 16.10 are two prominent Linux distributions, which
+have a 'systemd' version that is too old to run in a 'cgroupv2' environment.
+
+If file system quotas are not required and the containers support 'cgroupv2',
+it is recommended to stick to the new default.
 
 To switch back to the previous version the following kernel command line
 parameter can be used: