[libvirt] [PATCH] Remove sub-mounts under /dev when starting an LXC container

Eric Blake eblake at redhat.com
Fri Jun 29 15:52:14 UTC 2012


On 06/29/2012 09:30 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Since we are mounting a new /dev in the container, we must
> remove any sub-mounts like /dev/shm, /dev/mqueue, etc,
> otherwise they'll be recorded in /proc/mounts, but not be
> accessible to applications.
> ---
>  src/lxc/lxc_container.c |    7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120629/4e4de6f8/attachment-0001.sig>


More information about the libvir-list mailing list