Hi,
After upgrading dirtypipe from pve-no-subscription.
First of all, systemd-timesynd produced a boot loop and the machine was unable to boot completely unless reboot into systemd.unit=emergency.target and:
After that I installed Chrony.
There are issues but at least, it boots.
Chrony was unable to boot due to systemd Protect directives:
If I enable any of them and the result is EXEC/203 on systemct status chrony. I would like the service to be protected as well as others but obviously these were the source of the problem.
After that machine machine boots but there is a problem. I guess there is something relative to namespaces but I dont know exactly what is happening.
Starting a container reports this issue:
systemd-logind
seems unable to load. Fails repeatedly, so I take syslog output:
I think it was Dbus socket but everything seems to be fine:
I've looked on previous posts and I've found that maybe /var/run symlink was broken but no, it looks fine:
So, at this point I don't know exactly how to continue troubleshooting this.
Thanks in advance.
Greetings,
Chema.
After upgrading dirtypipe from pve-no-subscription.
Code:
:~# pveversion --verbose
proxmox-ve: 7.1-1 (running kernel: 5.13.19-5-pve)
pve-manager: 7.1-10 (running version: 7.1-10/6ddebafe)
pve-kernel-helper: 7.1-12
pve-kernel-5.13: 7.1-8
pve-kernel-5.11: 7.0-10
pve-kernel-5.13.19-5-pve: 5.13.19-13
pve-kernel-5.13.19-4-pve: 5.13.19-9
pve-kernel-5.13.19-3-pve: 5.13.19-7
pve-kernel-5.13.19-2-pve: 5.13.19-4
pve-kernel-5.11.22-7-pve: 5.11.22-12
ceph-fuse: 14.2.21-1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.1
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-6
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-3
libpve-guest-common-perl: 4.1-1
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.1-1
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.3.0-2
openvswitch-switch: 2.15.0+ds1-2
proxmox-backup-client: 2.1.5-1
proxmox-backup-file-restore: 2.1.5-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-6
pve-cluster: 7.1-3
pve-container: 4.1-4
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.3-5
pve-ha-manager: 3.3-3
pve-i18n: 2.6-2
pve-qemu-kvm: 6.1.1-2
pve-xtermjs: 4.16.0-1
qemu-server: 7.1-4
smartmontools: 7.2-pve2
spiceterm: 3.2-2
swtpm: 0.7.0~rc1+2
vncterm: 1.7-1
zfsutils-linux: 2.1.2-pve1
First of all, systemd-timesynd produced a boot loop and the machine was unable to boot completely unless reboot into systemd.unit=emergency.target and:
Code:
systemctl mask systemd-timesyncd
After that I installed Chrony.
There are issues but at least, it boots.
Chrony was unable to boot due to systemd Protect directives:
Code:
:~# cat /etc/systemd/system/chrony.service.d/override.conf
[Service]
PrivateTmp=no
ProtectHome=no
ProtectSystem=no
ProtectControlGroups=no
ProtectKernelModules=no
ProtectKernelTunables=no
If I enable any of them and the result is EXEC/203 on systemct status chrony. I would like the service to be protected as well as others but obviously these were the source of the problem.
After that machine machine boots but there is a problem. I guess there is something relative to namespaces but I dont know exactly what is happening.
Starting a container reports this issue:
Code:
~# pct start 117
lxc_spawn: 1728 Operation not permitted - Failed to clone a new set of namespaces
__lxc_start: 2068 Failed to spawn container "117"
startup for container '117' failed
systemd-logind
seems unable to load. Fails repeatedly, so I take syslog output:
Code:
Mar 9 08:16:17 ve0 systemd-logind[81208]: Failed to connect to system bus: No such file or directory
Mar 9 08:16:17 ve0 systemd-logind[81208]: Failed to fully start up daemon: No such file or directory
I think it was Dbus socket but everything seems to be fine:
Code:
root@ve0:~# systemctl status dbus.service dbus.socket
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/lib/systemd/system/dbus.service; static)
Active: active (running) since Wed 2022-03-09 07:56:27 CET; 21min ago
TriggeredBy: ● dbus.socket
Docs: man:dbus-daemon(1)
Main PID: 1868 (dbus-daemon)
Tasks: 1 (limit: 314572)
Memory: 1.3M
CPU: 11ms
CGroup: /system.slice/dbus.service
└─1868 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
Mar 09 07:56:27 ve0 systemd[1]: Started D-Bus System Message Bus.
Mar 09 07:56:27 ve0 dbus-daemon[1868]: [system] AppArmor D-Bus mediation is enabled
● dbus.socket - D-Bus System Message Bus Socket
Loaded: loaded (/lib/systemd/system/dbus.socket; static)
Active: active (running) since Wed 2022-03-09 07:56:27 CET; 21min ago
Triggers: ● dbus.service
Listen: /run/dbus/system_bus_socket (Stream)
Tasks: 0 (limit: 314572)
Memory: 0B
CPU: 0
CGroup: /system.slice/dbus.socket
Mar 09 07:56:27 ve0 systemd[1]: Listening on D-Bus System Message Bus Socket.
root@ve0:~#
I've looked on previous posts and I've found that maybe /var/run symlink was broken but no, it looks fine:
Code:
root@ve0:~# ls -la /var/run
lrwxrwxrwx 1 root root 4 Jul 15 2019 /var/run -> /run
So, at this point I don't know exactly how to continue troubleshooting this.
Thanks in advance.
Greetings,
Chema.