This series addresses the issue of running containers, which boot with a systemd version which is too old (<232) to support the unified cgroup hierarchy - This includes CentOS 7 and Ubuntu 16.04 containers.
The patch for pve-container simply logs to syslog with level err to notify the user. Since container start runs through our stack into systemd (and back into our stack), I did not see a better option (grateful for feedback if there is of course). One alternative might be to mount the container once in vm_start (or the API calls), check and unmount again - but this seemed a bit expensive to do unconditionally on every start. The patch for pve6to7 simply loops through all containers and checks for the condition pve-container: Stoiko Ivanov (1): prestart-hook: detect cgroupv2 incompatible systemd version src/PVE/LXC/Setup.pm | 8 ++++++++ src/PVE/LXC/Setup/Base.pm | 36 ++++++++++++++++++++++++++++++++++++ src/lxc-pve-prestart-hook | 7 +++++++ 3 files changed, 51 insertions(+) pve-manager: Stoiko Ivanov (1): pve6to7: check for containers not supporting pure cgroupv2 PVE/CLI/pve6to7.pm | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel