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)

Reply via email to