Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1069136

Bug#993311: Support for cgroup v2 via cgroup-tools

From Thomas Goirand <thomas@goirand.fr>
Newsgroups linux.debian.bugs.dist
Subject Bug#993311: Support for cgroup v2 via cgroup-tools
Date 2021-08-31 14:50 +0200
Message-ID <CSbnc-3QE-1@gated-at.bofh.it> (permalink)
References <CRRot-7wR-5@gated-at.bofh.it> <CRRot-7wR-5@gated-at.bofh.it>
Organization GPLHost

Show all headers | View raw


Hi Santiago,

Thanks for this bug report, I'll be working on it.

On 8/30/21 5:19 PM, Santiago Ruano Rincón wrote:
> To know if cgroup v2 is supported, one way is to
> `grep cgroup2 /proc/mounts`

I am really unsure about this. On Bullseye, for example, we do have
cgroup2 mounted just like in Sid, though the new syntax wont work. What
we need here is a way to tell what version of the cgset/cgcreate
userland binary is there, preferably with something distribution agnostic...

Maybe the only way is to just attempt the old style cgset, see if it
fails, and if it does, do v2 style cgset? I'd prefer a better way to
detect the cgroup version if available.

Cheers,

Thomas Goirand (zigo)

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#993311: Support for cgroup v2 via cgroup-tools Santiago Ruano Rincón <santiago.ruano-rincon@imt-atlantique.fr> - 2021-08-30 17:30 +0200
  Bug#993311: Support for cgroup v2 via cgroup-tools Thomas Goirand <thomas@goirand.fr> - 2021-08-31 14:50 +0200
    Bug#993311: Support for cgroup v2 via cgroup-tools Santiago Ruano Rincón <santiago.ruano-rincon@imt-atlantique.fr> - 2021-08-31 15:50 +0200
      Bug#993311: Support for cgroup v2 via cgroup-tools Thomas Goirand <zigo@debian.org> - 2021-09-01 17:30 +0200

csiph-web