]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove sub-mounts under /dev when starting an LXC container
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 29 Jun 2012 15:29:33 +0000 (16:29 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 29 Jun 2012 15:29:33 +0000 (16:29 +0100)
commit5bb83236c9c9b22afb263dc2a5084b0f922e44bb
tree52d9965192fad83222fad9bfdb1526de7bd6e34b
parent0ac3baee2c2fd56ef89f24f5ea484e39d2bf35f5
Remove sub-mounts under /dev when starting an LXC container

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