Hi everyone,
I have upgraded PVE v6.4 to PVE v7.2-7 and all works fine except LXC that I have.
When I try to start the LXC container:
----------------------------------------------------------------
root@proxmox:/etc/pve/lxc# pct start 120
WARN: old systemd (< v232) detected, container won't run in a pure cgroupv2 environment! Please see documentation -> container -> cgroup version.
Task finished with 1 warning(s)!
root@proxmox:/etc/pve/lxc#
----------------------------------------------------------------
The config CT is this (Debian 8 / Jessie):
----------------------------------------------------------------
root@proxmox:/etc/pve/lxc# pct config 120
arch: amd64
cores: 1
description: lxc.cgroup2.devices.allow = c 10%3A200 rwm%0A
hostname: soporte
memory: 1024
nameserver: 8.8.8.8 8.8.4.4
net0: name=eth0,bridge=vmbr0,gw=192.168.2.1,hwaddr=96:7F:45:EC:57:E8,ip=192.168.2.95/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-120-disk-1,size=40G
searchdomain: soporte.local
swap: 1024
root@proxmox:/etc/pve/lxc#
----------------------------------------------------------------
I have tried to add the line GRUB_CMDLINE_LINUX_DEFAULT="systemd.unified_cgroup_hierarchy=0 quiet" to GRUB but the LXC CT haven't the GRUB files:
----------------------------------------------------------------
root@soporte:/# ls -la /etc/default/grub
ls: cannot access /etc/default/grub: No such file or directory
root@soporte:/# ls /boot/grub/grub.conf
ls: cannot access /boot/grub/grub.conf: No such file or directory
root@soporte:/#
----------------------------------------------------------------
I have created the "/etc/default/grub" file with the line GRUB_CMDLINE_LINUX_DEFAULT="systemd.unified_cgroup_hierarchy=0 quiet" but when I try to update the GRUB:
----------------------------------------------------------------
root@soporte:/# update-grub
bash: update-grub: command not found
root@soporte:/#
----------------------------------------------------------------
I can enter to the CT and start the network with the service networking start and have access to Internet but it not start automatically and all services are stoped but I can start, by example, the ssh server service manually.
What can I do to solve this error the LXC CT?
Regards and thanks so much
I have upgraded PVE v6.4 to PVE v7.2-7 and all works fine except LXC that I have.
When I try to start the LXC container:
----------------------------------------------------------------
root@proxmox:/etc/pve/lxc# pct start 120
WARN: old systemd (< v232) detected, container won't run in a pure cgroupv2 environment! Please see documentation -> container -> cgroup version.
Task finished with 1 warning(s)!
root@proxmox:/etc/pve/lxc#
----------------------------------------------------------------
The config CT is this (Debian 8 / Jessie):
----------------------------------------------------------------
root@proxmox:/etc/pve/lxc# pct config 120
arch: amd64
cores: 1
description: lxc.cgroup2.devices.allow = c 10%3A200 rwm%0A
hostname: soporte
memory: 1024
nameserver: 8.8.8.8 8.8.4.4
net0: name=eth0,bridge=vmbr0,gw=192.168.2.1,hwaddr=96:7F:45:EC:57:E8,ip=192.168.2.95/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-120-disk-1,size=40G
searchdomain: soporte.local
swap: 1024
root@proxmox:/etc/pve/lxc#
----------------------------------------------------------------
I have tried to add the line GRUB_CMDLINE_LINUX_DEFAULT="systemd.unified_cgroup_hierarchy=0 quiet" to GRUB but the LXC CT haven't the GRUB files:
----------------------------------------------------------------
root@soporte:/# ls -la /etc/default/grub
ls: cannot access /etc/default/grub: No such file or directory
root@soporte:/# ls /boot/grub/grub.conf
ls: cannot access /boot/grub/grub.conf: No such file or directory
root@soporte:/#
----------------------------------------------------------------
I have created the "/etc/default/grub" file with the line GRUB_CMDLINE_LINUX_DEFAULT="systemd.unified_cgroup_hierarchy=0 quiet" but when I try to update the GRUB:
----------------------------------------------------------------
root@soporte:/# update-grub
bash: update-grub: command not found
root@soporte:/#
----------------------------------------------------------------
I can enter to the CT and start the network with the service networking start and have access to Internet but it not start automatically and all services are stoped but I can start, by example, the ssh server service manually.
What can I do to solve this error the LXC CT?
Regards and thanks so much