Problem with LXC not booting after update PVE 8 to 9

spitfine

Member
Feb 6, 2022
5
2
8
45
Hi everyone !
Just finished my updates from latest PVE 8 to PVE 9. After reboot of the Proxmox servers I get no LXC starting anymore in my 3 node cluster.


An example here with my LXC container 140:



lxc_spawn: 1738 Permission denied - Failed to clone a new set of namespaces
__lxc_start: 2114 Failed to spawn container "140"
TASK ERROR: startup for container '140' failed


The 140.conf
root@prx01:~# cat /etc/pve/lxc/140.conf

arch: amd64
cores: 8
features: nesting=1
hostname: webmon
memory: 4096
nameserver: 10.10.10.1
net0: name=eth0,bridge=vmbr0,gw=10.10.10.1,hwaddr=BC:24:11:84:91:6D,ip=10.10.10.61/24,type=veth
onboot: 1
ostype: ubuntu
parent: init
rootfs: local-zfs:subvol-140-disk-0,size=25G
searchdomain: pikachu.not.here
swap: 4096
unprivileged: 1

[init]
arch: amd64
cores: 8
features: nesting=1
hostname: webmon
memory: 4096
nameserver: 10.10.10.1
net0: name=eth0,bridge=vmbr0,gw=10.10.10.1,hwaddr=BC:24:11:84:91:6D,ip=10.10.10.61/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-zfs:subvol-140-disk-0,size=25G
searchdomain: pikachu.not.here
snaptime: 1753011073
swap: 4096

root@prx01:~# systemctl status lxcfs.service
● lxcfs.service - FUSE filesystem for LXC
Loaded: loaded (/lib/systemd/system/lxcfs.service; enabled; preset: enabled)
Active: active (running) since Thu 2025-08-07 14:42:44 CEST; 9min ago
Docs: man:lxcfs(1)
Process: 1210 ExecStartPre=/bin/mkdir -p /var/lib/lxcfs (code=exited, status=0/SUCCESS)
Main PID: 1233 (lxcfs)
Tasks: 3 (limit: 76747)
Memory: 792.0K
CPU: 6ms
CGroup: /system.slice/lxcfs.service
└─1233 /usr/bin/lxcfs /var/lib/lxcfs

Aug 07 14:42:44 prx01 lxcfs[1233]: - proc_loadavg
Aug 07 14:42:44 prx01 lxcfs[1233]: - proc_meminfo
Aug 07 14:42:44 prx01 lxcfs[1233]: - proc_stat
Aug 07 14:42:44 prx01 lxcfs[1233]: - proc_swaps
Aug 07 14:42:44 prx01 lxcfs[1233]: - proc_uptime
Aug 07 14:42:44 prx01 lxcfs[1233]: - proc_slabinfo
Aug 07 14:42:44 prx01 lxcfs[1233]: - shared_pidns
Aug 07 14:42:44 prx01 lxcfs[1233]: - cpuview_daemon
Aug 07 14:42:44 prx01 lxcfs[1233]: - loadavg_daemon
Aug 07 14:42:44 prx01 lxcfs[1233]: - pidfds


Any idea on how I can get my LXC containers up again ? My production servers are dead for now. What else can I do to get the mto start ?
 
Problem solved ! Upgrade to 9.0.3 failed ?

1. add source in /etc/apt/sources.list.d/pve-no-subscription.list
nano /etc/apt/sources.list.d/pve-no-subscription.list
deb [URL]http://download.proxmox.com/debian/pve[/URL] trixie pve-no-subscription
2. apt update
3. apt upgrade
4. apt autoremove
5. apt full-upgrade
reboot and ... voilà !