PBS 2.4 as LXC container in PVE 7.4 no networking after reboot

hagen

New Member
Jun 26, 2022
7
0
1
After upgrading PBS 2.3.3-1 to PBS 2.4.1-1 the service doesn't start up. The PBS is running as an LXC container in PVE 7.4-3.

Code:
Apr 12 10:15:29 hf-pbs01 systemd[1]: Starting Network Service...
Apr 12 10:15:29 hf-pbs01 systemd[79]: systemd-networkd.service: Failed to set up mount namespacing: Permission denied
Apr 12 10:15:29 hf-pbs01 systemd[79]: systemd-networkd.service: Failed at step NAMESPACE spawning /lib/systemd/systemd-networkd: Permission denied
Apr 12 10:15:29 hf-pbs01 systemd[1]: systemd-networkd.service: Main process exited, code=exited, status=226/NAMESPACE
Apr 12 10:15:29 hf-pbs01 systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
Apr 12 10:15:29 hf-pbs01 systemd[1]: Failed to start Network Service.

As a workaround I found out how to solve this problem:
  1. Comment out all lines starting with `Protect` in the file `/etc/systemd/system/multi-user.target.wants/systemd-networkd.service`
  2. `systemctl daemon-reload`
  3. reboot the LXC container
Is there a better way to solve this?
 
The container is priviliged without explicite nesting.
Code:
arch: amd64
hostname: hf-pbs01
memory: 4096
mp0: /daten/backup,mp=/backup,acl=0,backup=0,quota=0,replicate=0,ro=0,shared=0
nameserver: 192.168.xx.yy
net0: name=eth0,bridge=vmbr0,gw=192.168.xx.yyy,hwaddr=AA:BB:CC:DD:EE:FF,ip=192.168.xx.yy/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: SDCARD:110/vm-110-disk-1.raw,size=5G
searchdomain: domain.lan
swap: 0

I'll try a new config:
Code:
arch: amd64
hostname: hf-pbs01
memory: 4096
mp0: /daten/backup,mp=/backup,acl=0,backup=0,quota=0,replicate=0,ro=0,shared=0
nameserver: 192.168.xx.yy
net0: name=eth0,bridge=vmbr0,gw=192.168.xx.yyy,hwaddr=AA:BB:CC:DD:EE:FF,ip=192.168.xx.yy/24,type=veth
nesting: 1
onboot: 1
ostype: ubuntu
rootfs: SDCARD:110/vm-110-disk-1.raw,size=5G
searchdomain: domain.lan
swap: 0
unprivileged: 0
 

About

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!