This is an environment issue, not a libvirt bug:
virGetUserRuntimeDirectory() in virutil.c:640 just calls GLib's
g_get_user_runtime_dir(), which returns whatever XDG_RUNTIME_DIR is set
to (appending /libvirt):
I have the normal user console buy running: su ubuntu
This cause XDG_RUNTIME_DIR to be set to /run/user/0
ubuntu@noble:/root$ echo $XDG_RUNTIME_DIR
/run/user/0
** Changed in: libvirt (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163289
Title:
virsh with qemu:///session URI fails to work
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2163289/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs