#961578 lxc-tests: fails in autopkgtest-virt-qemu of cgroup2 / unified hierachy

Package:
lxc-tests
Source:
lxc
Description:
Linux Containers userspace tools (test binaries)
Submitter:
Ryutaroh Matsumoto
Date:
2025-10-27 02:11:01 UTC
Severity:
minor
Tags:
#961578#5
Date:
2020-05-26 09:05:36 UTC
From:
To:
Add "systemd.unified_cgroup_hierarchy=1" to /etc/default/grub
in a QEMU testbed created by autopkgtest-build-qemu, and run
update-grub in it.
Then autopkgtest -B -o some-directory lxc -- qemu /var/lib/libvirt/images/sid-cgroup2-ext4.img shows

FAIL: lxc-tests: /usr/bin/lxc-test-cgpath
---
cgpath.c:73 lxc_cmd_get_cgroup_path returned NULL

It seems a non-essential symptom, though.

Best regards, Ryutaroh Matsumoto

#961578#12
Date:
2025-10-27 02:08:28 UTC
From:
To:
control: tags -1 + moreinfo

Hi Ryutaroh,

  I think this issue has resolved itself sometime since the initial
report and now. With lxc 1:6.0.5-1, lxc-test-cgpath passes in the
autopkgtests. Could you confirm if you're still seeing this failure, or
if the bug can be closed?

Mathias