Bug#944389: lxc: Fails to work with cgroupv2 / unified hierarchy

2020-01-02 Thread Ryutaroh Matsumoto
Control: tags -1 + fixed I made a user instruction on how to use lxc on a Debian host booted with systemd.unified_cgroup_hierarchy=1 at https://wiki.debian.org/LXC/CGroupV2 I believe that this issue is now resolved, but I refrain from closing this, while I add "fixed" tag. Ryutaroh Matsumoto

Bug#944389: lxc: Fails to work with cgroupv2 / unified hierarchy

2020-01-01 Thread Ryutaroh Matsumoto
Dear Michael and the Debian maintainers of LXC, I suggest to close this issue #944389. The reason is that Addition of lxc.cgroup.devices.allow = lxc.cgroup.devices.deny = lxc.init.cmd = /lib/systemd/systemd systemd.unified_cgroup_hierarchy=1 to a container config allows normal start-up of an

Bug#944389: lxc: Fails to work with cgroupv2 / unified hierarchy

2019-12-01 Thread Ryutaroh Matsumoto
Package: lxc Version: 3.2.1+master~20191129-1942-0ubuntu1~disco Tags: fixed-upstream Followup-For: Bug #944389 Dear Maintainer, On the github I was advised to add lxc.cgroup.devices.allow = lxc.cgroup.devices.deny = lxc.mount.auto = proc:mixed sys:mixed cgroup:rw:force to

Bug#944389: lxc: Fails to work with cgroupv2 / unified hierarchy

2019-12-01 Thread Ryutaroh Matsumoto
Package: lxc Version: 1:3.1.0+really3.0.4-2 Followup-For: Bug #944389 With config lines: lxc.cgroup.devices.deny = lxc.cgroup.devices.allow = lxc.init.cmd = /bin/bash the container starts, but without lxc.init.cmd = /bin/bash the /sbin/init in the container prints Failed to mount cgroup at

Bug#944389: lxc: Fails to work with cgroupv2 / unified hierarchy

2019-11-30 Thread Ryutaroh Matsumoto
Package: lxc Version: 1:3.1.0+really3.0.4-2 Followup-For: Bug #944389 Dear Maintainer, This problem can be worked around by adding lxc.cgroup.devices.deny = lxc.cgroup.devices.allow = to the end of /var/lib/lxc/test-container/config LXC does not support the V2 device controller until very