[pkg-lxc-devel] Bug#986638: lxc: CentOS 7 Container can't be started properly

Mathias Gibbens gibmat at debian.org
Thu Nov 23 22:07:50 GMT 2023


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20231123/7f91a0e0/attachment.sig>


More information about the Pkg-lxc-devel mailing list