I'm running Proxmox VE 6.4-15, and have a few different up-to-date Arch Linux containers. When I use the
script, I'm getting warnings that these containers do not support cgroup v2, even though they are up to date.
This appears to be due to an issue with the regex in pve6to7:
since the libsystemd-shared-***.so file in Arch Linux (at the current time) is "/lib/systemd/libsystemd-shared-252.2-2.so", so that "\d+" regex group does not match and it returns undefined. By the logic in that script, this container should be supported since the systemd version is > 232.
Changing that regex in line 882 of /usr/share/perl5/PVE/CLI/pve6to7.pm to:
Makes it work the the Arch Linux containers too. Just leaving this here in case anyone else stumbles upon this.
Code:
pve6to7 --full
This appears to be due to an issue with the regex in pve6to7:
Perl:
if (defined($libsd) && $libsd =~ /libsystemd-shared-(\d+)\.so/) {}
return $1;
}
since the libsystemd-shared-***.so file in Arch Linux (at the current time) is "/lib/systemd/libsystemd-shared-252.2-2.so", so that "\d+" regex group does not match and it returns undefined. By the logic in that script, this container should be supported since the systemd version is > 232.
Changing that regex in line 882 of /usr/share/perl5/PVE/CLI/pve6to7.pm to:
Code:
libsystemd-shared-(\d+)(\.\d+\-\d+)?\.so
Makes it work the the Arch Linux containers too. Just leaving this here in case anyone else stumbles upon this.