Source: ansible-runner
Version: 1.4.6-1
Severity: normal
Tags: upstream
User: [email protected]
Usertags: cgroupv2

Dear maintainer,

Since bullseye, the cgroups v1 filesystem is not mounted by default,
and then ansible-runner needs to adapt some code to support cgroups v2.
It includes a least this call to cgcreate (from the cgroup-tools
package)
https://sources.debian.org/src/ansible-runner/1.4.6-1/ansible_runner/runner.py/?hl=157#L157
to make use of the cgroups v1's cpuacct controller, that has been
replaced in cgroups v2 by cpu. ansible-runner needs to call cgcreate
with the correct arguments, according to the cgroup version mounted in
the system.

See cgroups(7) or the kernel admin-guide:
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html

Cheers,

 -- Santiago


-- System Information:
Debian Release: bookworm/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Attachment: signature.asc
Description: PGP signature

Reply via email to