Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Christian Brauner
On Oct 16, 2015 19:11, "Serge Hallyn" wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > > On Thu, Oct 15, 2015 at

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > On Thu, Oct 15, 2015 at 08:32:25PM +, Serge Hallyn wrote: > > > > Quoting Christian Brauner

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Fri, Oct 16, 2015 at 05:11:02PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > > > > Quoting Christian Brauner

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Christian Brauner
On Fri, Oct 16, 2015 at 05:11:02PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > > On Thu, Oct 15, 2015 at 08:32:25PM

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Thu, Oct 15, 2015 at 08:32:25PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > The mount_entry_create_*_dirs() functions currently assume that the > > > rootfs of > > > the container

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-16 Thread Christian Brauner
On Fri, Oct 16, 2015 at 03:52:04PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > On Thu, Oct 15, 2015 at 08:32:25PM +, Serge Hallyn wrote: > > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > > The mount_entry_create_*_dirs()

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-15 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > The mount_entry_create_*_dirs() functions currently assume that the rootfs of > the container is actually named "rootfs". This has the consequence that > > del = strstr(lxcpath, "/rootfs"); > if (!del) { >

Re: [lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-15 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > The mount_entry_create_*_dirs() functions currently assume that the rootfs of > the container is actually named "rootfs". This has the consequence that > > del = strstr(lxcpath, "/rootfs"); > if (!del) { >

[lxc-devel] [PATCH] Make mount_entry_create_*_dirs() more robust

2015-10-07 Thread Christian Brauner
The mount_entry_create_*_dirs() functions currently assume that the rootfs of the container is actually named "rootfs". This has the consequence that del = strstr(lxcpath, "/rootfs"); if (!del) { free(lxcpath); lxc_free_array((void **)opts, free);