<div dir="ltr"><div>I encountered such issue when trying to set up a directory share for the user session in virt-manager</div><div>and managed to narrow down the problem by looking at libvirt log in</div><div><br></div><div>$HOME/.cache/libvirt/qemu/log/<vm-name>-fs0-virtiofsd.log</div><div><br></div><div>The error there was like this:</div><div><br></div><div><span style="font-family:monospace">[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)</span></div><div><span style="font-family:monospace"><br></span></div><div>Which indicated that it couldn't run newuidmap and naturally, I discovered that I had no
<span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">uidmap</span> </span>package that provides it.</div><div><br></div><div>Installing <span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">uidmap </span></span>fixes is. I think it should be added as a dependency package for virtiofsd<span style="font-family:monospace">.</span></div><div><span style="font-family:monospace"><br></span></div><div>Regards,</div><div>Shmerl.</div></div>