Re: [lxc-devel] [PATCH] Parse rootfs->path

2015-10-19 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > The mount_entry_overlay_dirs() and mount_entry_aufs_dirs() functions create > workdirs and upperdirs for overlay and aufs lxc.mount.entry entries. They try > to make sure that the workdirs and upperdirs can only be created under the >

Re: [lxc-devel] [PATCH] Parse rootfs->path

2015-10-19 Thread Christian Brauner
On Mon, Oct 19, 2015 at 02:50:11PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > The mount_entry_overlay_dirs() and mount_entry_aufs_dirs() functions create > > workdirs and upperdirs for overlay and aufs lxc.mount.entry entries. They > > try > > to

Re: [lxc-devel] [PATCH] Parse rootfs->path

2015-10-19 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Mon, Oct 19, 2015 at 02:50:11PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > The mount_entry_overlay_dirs() and mount_entry_aufs_dirs() functions > > > create > > > workdirs and

[lxc-devel] [PATCH v2] Parse rootfs->path

2015-10-19 Thread Christian Brauner
The mount_entry_overlay_dirs() and mount_entry_aufs_dirs() functions create workdirs and upperdirs for overlay and aufs lxc.mount.entry entries. They try to make sure that the workdirs and upperdirs can only be created under the containerdir (e.g. /path/to/the/container/CONTAINERNAME). In order to

Re: [lxc-devel] [PATCH] lxc_start: report error message when config is not a regular file

2015-10-19 Thread Shi, Yang
On 10/18/2015 7:10 PM, Serge Hallyn wrote: Quoting Shi, Yang (yang@linaro.org): On 10/15/2015 7:31 AM, Serge Hallyn wrote: Quoting Yang Shi (yang@linaro.org): When run the below command: lxc-start -n name -f /path/to/config If config is not a regular file, lxc-start will be killed by