[SOLVED] systemd 247 breaks networking in LXC


works here, just upgraded an Arch Linux CT instance to systemd 247 and rebooted the CT, network came up again fine.

Can you please post our CT config?

arch: amd64
cores: 4
features: fuse=1
hostname: SRV02
memory: 4096
mp0: /media/8TB,mp=/media/storage-pool
net0: name=eth0,bridge=vmbr10,gw=,hwaddr=xx:xx:xx:xx:xx,ip=,type=veth
onboot: 1
ostype: archlinux
rootfs: local-lvm:vm-106-disk-6,size=64G
searchdomain: home.lan
startup: order=2
swap: 0
unprivileged: 1
lxc.mount.auto: sys
Thank you, that made it work with systemd 247. I also removed lxc.mount.auto: sys and it's still working fine.

Do you know why new systemd would require nesting to be enabled?
It tries to create more namespaces for it's various operations, like running the systemd-networkd with version 247.

As it runs in a container, which is also using namespaces to isolate it from the host, it must be allowed to setup nested namespaces.

Normally this can be avoided by pre-creating the relevant ones, it seems this version added new ones, which are not (yet?) specified in their container runtime interface requirements.
Will the requirement to set nesting=1 persist in the future for runnning newer versions of systemd without problems or is there a chance that the "container runtime interface requirements" of systemd, which Thomas has mentioned above, will specifiy the required namespaces to pre-create them ?
The container runtime interface requirements are not likely to change, and the required namespaces are dynamic in nature, so I'd really not expect nesting to go away anytime soon.
But, as it has no impact for unprivileged Containers and PVE 7.0 defaults to enable nesting anyway it should not be a real issue.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!