[Libguestfs] [PATCH v2] Allow 9p filesystems to be listed and mounted (RHBZ#714981).

Daniel P. Berrange berrange at redhat.com
Wed Jun 22 14:59:45 UTC 2011


On Wed, Jun 22, 2011 at 03:34:35PM +0100, Richard W.M. Jones wrote:
> 
> As an aside, I can't seem to ever write to these 9p filesystems.  I
> just get -EPERM (or -EROFS if I used the ro option, but that is
> understandable).

The filesystems stuff is not currently wired up into libvirt's
security driver relabelling code, since I'm kind of afraid of
recursively relabelling & setting ownership on entire directory
trees, in case the user does something crazy like passthrough
a major part of their root filesystem. So if you have selinux
involved, it'll deny access, and the files would need to be
made writable as 'qemu' too.

I'm not really sure on how to best deal with this yet.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the Libguestfs mailing list