arch linux container: old systemd detected

amdserver

New Member
May 27, 2022
1
0
1
After updating systemd in archlinux container guests, I started receiving an error whenever the container starts or reboots:

WARN: old systemd (< v232) detected, container won't run in a pure cgroupv2 environment! Please see documentation -> container -> cgroup version.
TASK WARNINGS: 1

I believe this is due to the way archlinux labels systemd versions.

Properly detected systemd:
/usr/lib/systemd/libsystemd-shared-249.so
The systemd version related to the error:
/usr/lib/systemd/libsystemd-shared-251.1-1.so

I found the proxmox code responsible for detecting the systemd version (I don't know if the link is for the latest version). https://git.proxmox.com/?p=pve-cont...f82747ea558d0398919414945b133dc0;hb=HEAD#l523

In the code linked above, there's 2 regular expressions:
libsystemd-shared-.+\.so
libsystemd-shared-(\d+)\.so

The first one detects both libsystemd-shared's, the second only detects the 249 and not 251.1-1.

The good news is the container still runs. Anyone know where I can submit a bug report for this?

Thanks!