[libvirt] We need this patch to mount all tmpfs file systems with the correct context.

Daniel P. Berrange berrange at redhat.com
Wed Jul 18 18:49:12 UTC 2012


On Tue, Jul 17, 2012 at 11:48:12AM -0400, Daniel J Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Basically within a Secure Linux Container (virt-sandbox) we want all content
> that the process within the container can write to be labeled the same.  We
> are labeling the physical disk correctly but when we create "RAM" based file
> systems
> libvirt is not labeling them, and they are defaulting to tmpfs_t, which will
> will not allow the processes to write.  This patch labels the RAM based file
> systems correctly.

ACK, I have applied this patch with a few fixes to remove trailing
whitespace (don't forget to run 'make syntax-check' before sending
patches to catch this kind of thing).

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 libvir-list mailing list