[Pkg-rust-maintainers] Bug#1109051: virtiofsd: Unable to share folders to qemu:///session VMs with virtiofsd: Connection refused to socket

Shmerl shtetldik+shmerl at gmail.com
Thu Oct 9 19:04:50 BST 2025


I encountered such issue when trying to set up a directory share for the
user session in virt-manager
and managed to narrow down the problem by looking at libvirt log in

$HOME/.cache/libvirt/qemu/log/<vm-name>-fs0-virtiofsd.log

The error there was like this:

[2025-10-09T17:12:23Z ERROR virtiofsd::sandbox] sandbox: couldn't setup id
mappings: write to uid map failed: failed to execute newuidmap: No such
file or directory (os error 2)

Which indicated that it couldn't run newuidmap and naturally, I discovered
that I had no  uidmap package that provides it.

Installing uidmap fixes is. I think it should be added as a dependency
package for virtiofsd.

Regards,
Shmerl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20251009/23054058/attachment-0001.htm>


More information about the Pkg-rust-maintainers mailing list