Control: retitle -1 lxc: CentOS 7 containers require cgroup v1 controller
Control: tags -1 + confirmed wontfix

Hi Michael,

  Sorry that no one responded to this bug until now. The issue you are
seeing is caused by the version of systemd in CentOS 7 expecting a
cgroup v1 controller to be available, which isn't the case in recent
versions of Debian. (Not sure exactly when, maybe starting with the
bullseye release?) As a workaround, you can add
"systemd.unified_cgroup_hierarchy=0" to your host kernel boot
parameters which will switch systemd's cgroup setup from unified to
hybrid. After rebooting, I was able to successfully start a working
CentOS 7 container on my sid machine.

  There's nothing that lxc itself can do about this, so tagging with
wontfix but keeping the bug open for anyone else who might encounter
this issue in the future.

Mathias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to