LXC migration from debian 10 to 11 : systemctl services and socket , many errors ...

ledufakademy

Member
Sep 10, 2021
58
2
8
51
i've got all those servcies & socket in errors after migration ...

Code:
* sys-kernel-config.mount             loaded failed failed    Kernel Configuration File System

* sys-kernel-debug.mount              loaded failed failed    Kernel Debug File System

* modprobe@drm.service                loaded failed failed    Load Kernel Module drm ==> solved with nesting=1

* systemd-journald-audit.socket       loaded failed failed    Journal Audit Socket

Do you have any ideas?
 
Last edited:
Hi,
if the container is unprivileged, please try to enable nesting. If it doesn't help or already is enabled, please share your container's configuration pct config <ID> and output of pveversion -v.
 
hello fabian,
for sure (thank you for answering)

Code:
arch: amd64
cores: 1
features: nesting=1
hostname: rproxy1
memory: 2048
nameserver: 10.10.10.113
net0: name=eth0,bridge=vmbr10,firewall=1,gw=10.110.110.254,hwaddr=42:42:8D:30:CC:BB,ip=10.10.10.125/24,tag=10,type=veth
onboot: 1
ostype: debian
protection: 1
rootfs: zPool-8TB:subvol-125-disk-0,size=16G
searchdomain: mydomain.org
swap: 1024
unprivileged: 1
 
Last edited:
Do you observe any real issues with function of the container? It's expected that some things don't work in an unprivileged container, see here for more information.
 
The systemd-journald-audit.socket error was fixed with following commands in my debian 11 lcx container:

systemctl stop systemd-journald-audit.socket systemctl disable systemd-journald-audit.socket systemctl mask systemd-journald-audit.socket