Re: [lxc-devel] [PATCH 0/2] Create random workdir for overlay mounts

2015-10-27 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > - When no explicit workdir is given we simply create a random workdir using > mkdtemp(). > - The temporary workdir is not removed when the container stops as it is not > obvious to me at this point how to do this cleanly. This means

Re: [lxc-devel] [PATCH 0/2] Create random workdir for overlay mounts

2015-10-27 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Tue, Oct 27, 2015 at 05:26:53PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > - When no explicit workdir is given we simply create a random workdir > > > using > > > mkdtemp(). > >

Re: [lxc-devel] [PATCH 0/2] Create random workdir for overlay mounts

2015-10-27 Thread Christian Brauner
On Tue, Oct 27, 2015 at 05:26:53PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > - When no explicit workdir is given we simply create a random workdir using > > mkdtemp(). > > - The temporary workdir is not removed when the container stops as it is

[lxc-devel] [PATCH 0/2] Create random workdir for overlay mounts

2015-10-25 Thread Christian Brauner
- When no explicit workdir is given we simply create a random workdir using mkdtemp(). - The temporary workdir is not removed when the container stops as it is not obvious to me at this point how to do this cleanly. This means that it is left to the user to clean up old random workdirs. I