]> xenbits.xensource.com Git - libvirt.git/commit
Revert "lxc: controller: Fix container launch on cgroup v1"
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Dec 2021 12:46:54 +0000 (13:46 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Dec 2021 15:22:49 +0000 (16:22 +0100)
commit9ca80bfa1180a0bd83b4bb2d324bce60fb82dbdb
tree9d0a605eda68fbeb95d45e3876e796d17a99e323
parent2bdd654269a2febf306ec840b72daf46336c9421
Revert "lxc: controller: Fix container launch on cgroup v1"

Unfortunately, this fix breakes machinectl in a very nasty way,
for instance 'machinectl shell' drops into the host shell. It's
worse than being unable to start a container with CGroupsV1.

Revert until a proper fix is figured out.

This reverts commit 1b9ce05ce241a581d4e80228c92ceb0266f21f94.

References: https://gitlab.com/libvirt/libvirt/-/issues/182
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/lxc/lxc_controller.c