-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.5
-
None
-
rhel-sst-virtualization
-
ssg_virtualization
-
7
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
It fails to run the following nbdkit command as root on the RHEL9.5 host.
# nbdkit -U - memory 1G --run 'guestfish --ro --format=raw -a "$uri" run : list-devices' libguestfs: error: could not create appliance through libvirt. Try running qemu directly without libvirt using this environment variable: export LIBGUESTFS_BACKEND=direct Original error from libvirt: internal error: process exited while connecting to monitor: 2024-05-21T08:11:57.904622Z qemu-kvm: -blockdev {"driver":"nbd","server":{"type":"unix","path":"/tmp/nbdkitm5gpmj/socket"},"node-name":"libvirt-4-storage","read-only":true,"cache":{"direct":false,"no-flush":true}}: Failed to connect to '/tmp/nbdkitm5gpmj/socket': Permission denied [code=1 int1=-1]
Please provide the package NVR for which bug is seen:
libguestfs-1.50.1-9.el9.x86_64
nbdkit-1.38.0-1.el9.x86_64
libvirt-10.3.0-1.el9.x86_64
How reproducible:
100%
Steps to reproduce
Expected results
# nbdkit -U - memory 1G --run 'guestfish --ro --format=raw -a "$uri" run : list-devices'
/dev/sda
Actual results
The above