public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH docs] pct: clarify needed systemd-versions for cgroupv2 support
@ 2021-07-01  9:28 Stoiko Ivanov
  2021-07-02 19:19 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Stoiko Ivanov @ 2021-07-01  9:28 UTC (permalink / raw)
  To: pve-devel

versions determined through systemd's changelog, and a few empiric
tests.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
 pct.adoc | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/pct.adoc b/pct.adoc
index b03b6ba..42826bd 100644
--- 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:
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH docs] pct: clarify needed systemd-versions for cgroupv2 support
  2021-07-01  9:28 [pve-devel] [PATCH docs] pct: clarify needed systemd-versions for cgroupv2 support Stoiko Ivanov
@ 2021-07-02 19:19 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-07-02 19:19 UTC (permalink / raw)
  To: Proxmox VE development discussion, Stoiko Ivanov

On 01.07.21 11:28, Stoiko Ivanov wrote:
> versions determined through systemd's changelog, and a few empiric
> tests.
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
> ---
>  pct.adoc | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-02 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01  9:28 [pve-devel] [PATCH docs] pct: clarify needed systemd-versions for cgroupv2 support Stoiko Ivanov
2021-07-02 19:19 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal