Re: [libvirt] [PATCH 5/5] lxc: don't unmount subtree if it contains the source of the mount

2014-11-25 Thread Cedric Bosdonnat
On Tue, 2014-11-25 at 08:48 +0100, Martin Kletzander wrote: On Mon, Nov 24, 2014 at 09:54:46PM +0100, Cédric Bosdonnat wrote: The typical case where we had a problem is with such a filesystem definition as created by virt-sandbox-service: filesystem type='bind' accessmode='passthrough'

Re: [libvirt] [PATCH 5/5] lxc: don't unmount subtree if it contains the source of the mount

2014-11-25 Thread Martin Kletzander
On Tue, Nov 25, 2014 at 09:27:28AM +0100, Cedric Bosdonnat wrote: On Tue, 2014-11-25 at 08:48 +0100, Martin Kletzander wrote: On Mon, Nov 24, 2014 at 09:54:46PM +0100, Cédric Bosdonnat wrote: The typical case where we had a problem is with such a filesystem definition as created by

[libvirt] [PATCH 5/5] lxc: don't unmount subtree if it contains the source of the mount

2014-11-24 Thread Cédric Bosdonnat
The typical case where we had a problem is with such a filesystem definition as created by virt-sandbox-service: filesystem type='bind' accessmode='passthrough' source dir='/var/lib/libvirt/filesystems/mysshd/var'/ target dir='/var'/ /filesystem In this case, we don't want to

Re: [libvirt] [PATCH 5/5] lxc: don't unmount subtree if it contains the source of the mount

2014-11-24 Thread Martin Kletzander
On Mon, Nov 24, 2014 at 09:54:46PM +0100, Cédric Bosdonnat wrote: The typical case where we had a problem is with such a filesystem definition as created by virt-sandbox-service: filesystem type='bind' accessmode='passthrough' source dir='/var/lib/libvirt/filesystems/mysshd/var'/