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


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

Bug#993371: Support for cgroups v2

From Santiago Ruano Rincón <santiagorr@riseup.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#993371: Support for cgroups v2
Date 2021-08-31 15:30 +0200
Message-ID <CSbZT-4jS-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: ansible-runner
Version: 1.4.6-1
Severity: normal
Tags: upstream
User: pkg-systemd-maintainers@lists.alioth.debian.org
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

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


Thread

Bug#993371: Support for cgroups v2 Santiago Ruano Rincón <santiagorr@riseup.net> - 2021-08-31 15:30 +0200
  Bug#993371: Support for cgroups v2 Sakirnth Nagarasa <sakirnth@gmail.com> - 2021-09-01 21:30 +0200
    Bug#993371: Support for cgroups v2 Santiago Ruano Rincón <santiagorr@riseup.net> - 2021-09-02 10:20 +0200

csiph-web