Re: [lxc-devel] [PATCH 1/2 v3] Add clone_update_unexp_ovl_paths() function

2015-11-02 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > This functions updates absolute paths for overlay upper- and workdirs so users > can simply clone and start new containers without worrying about absolute > paths > in lxc.mount.entry overlay entries. > > Signed-off-by: Christian

[lxc-devel] Containers & Process Isolation Devroom CFP

2015-11-02 Thread Stéphane Graber
Original e-mail from: Sergey Bronnikov **Please forward to any project or individual that might be interested in participating in this devroom!** -- Call for Participation -- The Containers & Process Isolation devroom will feature sessions around

Re: [lxc-devel] [PATCH 2/2 v3] Update absolute paths for overlay and aufs mounts

2015-11-02 Thread Christian Brauner
On Mon, Nov 02, 2015 at 03:12:02PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > When using overlay and aufs mounts with lxc.mount.entry users have to > > specify > > absolute paths for upperdir and workdir which will then get created > >

Re: [lxc-devel] [PATCH 1/2 v3] Add clone_update_unexp_ovl_paths() function

2015-11-02 Thread Christian Brauner
On Mon, Nov 02, 2015 at 02:38:16PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > This functions updates absolute paths for overlay upper- and workdirs so > > users > > can simply clone and start new containers without worrying about absolute > >

Re: [lxc-devel] [PATCH 1/2 v3] Add clone_update_unexp_ovl_paths() function

2015-11-02 Thread Christian Brauner
On Mon, Nov 02, 2015 at 02:38:16PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > This functions updates absolute paths for overlay upper- and workdirs so > > users > > can simply clone and start new containers without worrying about absolute > >

Re: [lxc-devel] [PATCH 1/2 v3] Add clone_update_unexp_ovl_paths() function

2015-11-02 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Mon, Nov 02, 2015 at 02:38:16PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > This functions updates absolute paths for overlay upper- and workdirs so > > > users > > > can simply

Re: [lxc-devel] [PATCH 1/2 v3] Add clone_update_unexp_ovl_paths() function

2015-11-02 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Mon, Nov 02, 2015 at 03:52:25PM +0100, Christian Brauner wrote: > > On Mon, Nov 02, 2015 at 02:38:16PM +, Serge Hallyn wrote: > > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > > This functions updates absolute

Re: [lxc-devel] [PATCH 1/2 v3] Add clone_update_unexp_ovl_paths() function

2015-11-02 Thread Christian Brauner
On Nov 2, 2015 6:43 PM, "Serge Hallyn" wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > On Mon, Nov 02, 2015 at 03:52:25PM +0100, Christian Brauner wrote: > > > On Mon, Nov 02, 2015 at 02:38:16PM +, Serge Hallyn wrote: > > > > Quoting

[lxc-devel] [PATCH] doc: Add the description of lxc.hook.stop to Korean lxc.container.conf(5)

2015-11-02 Thread Sungbae Yoo
Update for commit 0a2b5ab Signed-off-by: Sungbae Yoo diff --git a/doc/ko/lxc.container.conf.sgml.in b/doc/ko/lxc.container.conf.sgml.in index f06e559..741003b 100644 --- a/doc/ko/lxc.container.conf.sgml.in +++ b/doc/ko/lxc.container.conf.sgml.in @@ -1800,9 +1800,12 @@

Re: [lxc-devel] [PATCH 1/2 v3] Add clone_update_unexp_ovl_paths() function

2015-11-02 Thread Christian Brauner
On Mon, Nov 02, 2015 at 03:52:25PM +0100, Christian Brauner wrote: > On Mon, Nov 02, 2015 at 02:38:16PM +, Serge Hallyn wrote: > > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > > This functions updates absolute paths for overlay upper- and workdirs so > > > users > > > can

Re: [lxc-devel] [PATCH 1/2 v3] Add clone_update_unexp_ovl_paths() function

2015-11-02 Thread Christian Brauner
On Mon, Nov 02, 2015 at 02:38:16PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > This functions updates absolute paths for overlay upper- and workdirs so > > users > > can simply clone and start new containers without worrying about absolute > >

[lxc-devel] [PATCH 2/2 v4] Update absolute paths for overlay and aufs mounts

2015-11-02 Thread Christian Brauner
When using overlay and aufs mounts with lxc.mount.entry users have to specify absolute paths for upperdir and workdir which will then get created automatically by mount_entry_create_overlay_dirs() and mount_entry_create_aufs_dirs() in conf.c. When we clone a container with overlay or aufs

[lxc-devel] [PATCH 0/2 v4] Update absolute paths for overlay and aufs mounts

2015-11-02 Thread Christian Brauner
Changes v4: (1) When searching for substrings with strstr() also check for q >= lend to ensure that we limit our search to the current line. + if ((!(q = strstr(p, " overlay")) || q >= lend) && (!(q = strstr(p, " aufs")) || q >= lend)) + goto next; + if (!(q =

[lxc-devel] OpenWRT container on yocto based filesystem

2015-11-02 Thread Divya Vyas
Hi, I am trying to create a openWRT lxc container on a yocto based filesystem. Has any one any idea about openwrt template to create the container. Is it need ant kernel changes on host? Thanks, Divya ___ lxc-devel mailing list

[lxc-devel] [PATCH] Fix wrong calculations in clone_update_unexp_hooks()

2015-11-02 Thread Christian Brauner
(1) This commit fixes some long standing miscalculation when updating paths in lxc.hooks.* entries. We now also update conf->unexpandend_alloced which hasn't been done prior to this commit. According to my testing valgrind now no longer reports "x bytes definitely lost" when using