[lxc-devel] [PATCH 1/1] lxcapi_clone: set the right environment variable for mounted fs

2013-11-21 Thread Serge Hallyn
If the container is dir-backed, we don't actually mount it (to support unprivileged use). So always set the LXC_ROOTFS_MOUNT to bdev-dest, not to the rootfs path specified in the container configuration. This should fix bug http://pad.lv/1253573 Signed-off-by: Serge Hallyn

Re: [lxc-devel] [PATCH 1/1] lxcapi_clone: set the right environment variable for mounted fs

2013-11-21 Thread Stéphane Graber
On Thu, Nov 21, 2013 at 09:05:59AM -0600, Serge Hallyn wrote: If the container is dir-backed, we don't actually mount it (to support unprivileged use). So always set the LXC_ROOTFS_MOUNT to bdev-dest, not to the rootfs path specified in the container configuration. This should fix bug