[Pkg-libvirt-maintainers] Bug#781283: Bug#781283: libvirt-bin: Permission denied with 9p file system

Guido Günther agx at sigxcpu.org
Fri Mar 27 08:22:44 UTC 2015


Hi Ross,
On Thu, Mar 26, 2015 at 02:17:11PM -0700, Ross Boylan wrote:
> Package: libvirt-bin
> Version: 0.9.12.3-1+deb7u1
> Severity: normal
> 
> Operating inside a wheezy VM with fstab including
> SASInstaller    /mnt/SASInstaller   9p  trans=virtio,version=9p2000.L 0 0
> SASUnzip        /mnt/SASUnzip   9p  trans=virtio,version=9p2000.L 0 0
> and libvirt setup with, e.g.,
>     <filesystem type='mount' accessmode='passthrough'>
>       <source dir='/mnt/SASInstaller'/>
>       <target dir='SASInstaller'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x0a'
> function='0x0'/>
>     </filesystem>
> Using KVM.
> 
> I get lots of "Permission Denied" errors both when listing directory
> contents and when trying to do anything, such as creating a file.
> E.g.,

You need to have matching UIDs in the VM and the host - is that the case? It's working fine
over here since years so it's likely a setup problem on your end.

That said these kind of bugs are better suited for QEMU/KVM since
libvirt only does the setup and QEMU is carrying the actual 9pfs implementation.

Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list