Bug 26472

Summary: Cgroups2 controllers need to be activates for rootless containerization (podman)
Product: Mageia Reporter: Joseph Wang <joequant>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kernel-5.6.3-2.mga8.src.rpm CVE:
Status comment:
Attachments: patch to activate cgroupv2 controllers

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