Bug 26472 - Cgroups2 controllers need to be activates for rootless containerization (podman)
Summary: Cgroups2 controllers need to be activates for rootless containerization (podman)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-12 00:33 CEST by Joseph Wang
Modified: 2020-04-12 15:03 CEST (History)
1 user (show)

See Also:
Source RPM: kernel-5.6.3-2.mga8.src.rpm
CVE:
Status comment:


Attachments
patch to activate cgroupv2 controllers (4.58 KB, patch)
2020-04-12 00:38 CEST, Joseph Wang
Details | Diff

Description Joseph Wang 2020-04-12 00:33:16 CEST
Description of problem:

The current kernel build does not activate the newer cgroup2 controllers
such as pids or hugetlb.  This causes rootless containers like podman to
fail.


Version-Release number of selected component (if applicable):


How reproducible:

Consistent

Steps to Reproduce:
1. run rootless podman "podman run -ti ubuntu:focal /bin/bash"
2. it will fail with an message about cgroups v2 not being writable
3.
Comment 1 Joseph Wang 2020-04-12 00:38:26 CEST
Created attachment 11584 [details]
patch to activate cgroupv2 controllers
Comment 2 Lewis Smith 2020-04-12 09:24:07 CEST
Thank you for another report complete with a fix in an obscure area.

Assigning to kernel team.

Assignee: bugsquad => kernel

Comment 3 Thomas Backlund 2020-04-12 15:03:54 CEST
Fixed in svn, will be part of kernel 5.6.4 that will be released upstream today/tomorrow.

CC: (none) => tmb
Status: NEW => RESOLVED
Severity: major => normal
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.