[pve-devel] applied: [PATCH v2 manager] pve7to8: Improve systemd unified cgroupv2 support check

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jun 12 16:46:51 CEST 2023


Am 12/06/2023 um 12:31 schrieb Christian Ebner:
> Checking /lib/systemd if it is present and a directory is not enough, as
> the shared object file used to check the version might nevertheless be
> located at /usr/lib/systemd, or under /usr/lib/x86_64-linux-gnu/systemd.
> So check also the latter paths, if the former returned no match.
> 
> Further, Arch Linux appends the minor version and release version to the
> filename, so include that in the regex as well.
> 
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
> Changes since v1:
> - Also check for shared object in /usr/lib/x86_64-linux-gnu/systemd
> 
>  PVE/CLI/pve7to8.pm | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
>

applied, tranformed into a loop in a follow up though, thanks!

fwiw, we have some experimental support for ARM/RSIC-V containers via the
binfmt_misc + qemu mechanism, but those are not fully supported for now
so I think it's ok to ignore that here...





More information about the pve-devel mailing list