On Tue, Apr 07, 2026 at 08:30:08PM +0100, Daniel P. Berrangé via Devel wrote:
> Hard to say, but I'm pretty sure we've seen bugs with libguestfs
> where knowing the XDG_* env vars would have made diagnosis quicker,
> so that probably points to including them.

Several times, with the most recent ones being RHEL-70222 and
RHEL-105490 (both already mentioned in this thread).

Also there is a some similar problem with passt, resolved through
documentation:
https://passt.top/passt/commit/?id=c54ef9e8358db1a720c849612a32e52340d7a548

In libguestfs-test-tool we log XDG_RUNTIME_DIR:
https://github.com/libguestfs/libguestfs/blob/a8ff3487bbf6c37b83e1d6eec32659b29a8f65ad/test-tool/test-tool.c#L201

For background reading, this bug (in systemd):
https://bugzilla.redhat.com/show_bug.cgi?id=967509

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org

Reply via email to