On Fri, Feb 13, 2026 at 05:08:57PM +0100, Hilko Bengen wrote:
Running libguestfs-related tools as part of tests (libguestfs itself, guestfs-tools, nbdkit, etc.) in Debian's build and autopkgtest infrastructure would lead to flaky tests which I had trouble reproducing.
Examples of bug reports relating to this problem: - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121473 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123409 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120924
Adding a partition and then creating or mounting a filesystem failed pretty often. I suspected a race condition involving udev creating the device node and I think it is more likely if qemu runs in TCG mode.
Yes this is correct. It's this systemd bug: https://github.com/systemd/systemd/issues/40499 There is a systemd fix in (upcoming) v260, see the bug for details. Adding a workaround is possible, but I think we'd prefer to get the systemd fix instead. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com nbdkit - Flexible, fast NBD server with plugins https://gitlab.com/nbdkit/nbdkit