Re: [lxc-devel] [PATCH v3] Make overlayfs mounts work directly

2015-10-05 Thread Christian Brauner
Updated version (v4) to follow. On Mon, Oct 05, 2015 at 01:45:53PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > When users wanted to mount overlay directories with lxc.mount.entry they > > had to > > create upperdirs and workdirs beforehand in order

Re: [lxc-devel] [PATCH v2 7/7] added the unmount-namespace hook

2015-10-05 Thread Serge Hallyn
Quoting Wolfgang Bumiller (w.bumil...@proxmox.com): > Signed-off-by: Wolfgang Bumiller > --- > hooks/Makefile.am | 6 ++ > hooks/unmount-namespace.c | 180 > ++ > 2 files changed, 186 insertions(+) > create mode 100644 hooks/unmount-namespac

Re: [lxc-devel] [PATCH v3] Make overlayfs mounts work directly

2015-10-05 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > When users wanted to mount overlay directories with lxc.mount.entry they had > to > create upperdirs and workdirs beforehand in order to mount them. To create it > for them we add the functions mount_entry_create_overlay_dirs() and > mou

Re: [lxc-devel] [PATCH v2 5/7] pass namespace handles to the stop hook

2015-10-05 Thread Serge Hallyn
Quoting Wolfgang Bumiller (w.bumil...@proxmox.com): > > On October 2, 2015 at 4:36 PM Serge Hallyn wrote: > > > > > > Quoting Wolfgang Bumiller (w.bumil...@proxmox.com): > > > I'd rather change to > > > char *namespaces[LXC_NS_MAX+1]; > > > > That's good. > > So with that being the only change

[lxc-devel] [lxc/lxc] d42304: lxc-start-ephemeral: Parse passwd directly

2015-10-05 Thread GitHub
Branch: refs/heads/stable-1.1 Home: https://github.com/lxc/lxc Commit: d42304806bdead1ce051cb14b0b84710e6e2e1ec https://github.com/lxc/lxc/commit/d42304806bdead1ce051cb14b0b84710e6e2e1ec Author: Colin Watson Date: 2015-10-05 (Mon, 05 Oct 2015) Changed paths: M src/lxc/lx

[lxc-devel] Fixed: lxc/lxc#1277 (master - 80e80c4)

2015-10-05 Thread Travis CI
Build Update for lxc/lxc - Build: #1277 Status: Fixed Duration: 1 minute and 47 seconds Commit: 80e80c4 (master) Author: Stéphane Graber Message: Fix the type of i in lxc_mount_auto_mounts Signed-off-by: Stéphane Graber View the changeset: https://github.co

[lxc-devel] Broken: lxc/lxc#1276 (master - cc4fd50)

2015-10-05 Thread Travis CI
Build Update for lxc/lxc - Build: #1276 Status: Broken Duration: 49 seconds Commit: cc4fd50 (master) Author: Serge Hallyn Message: lxc_mount_auto_mounts: fix weirdness The default_mounts[i].destination is never NULL except in the last 'stop here' entry. Cover

[lxc-devel] [lxc/lxc] 80e80c: Fix the type of i in lxc_mount_auto_mounts

2015-10-05 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 80e80c40115e77bf3a08916b24e21e78503bbe8a https://github.com/lxc/lxc/commit/80e80c40115e77bf3a08916b24e21e78503bbe8a Author: Stéphane Graber Date: 2015-10-05 (Mon, 05 Oct 2015) Changed paths: M src/lxc/con

[lxc-devel] [lxc/lxc] 9d291d: seccomp: add aarch64 support

2015-10-05 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 9d291dd226d9a5b71af5f5b297eb01b5a17bee90 https://github.com/lxc/lxc/commit/9d291dd226d9a5b71af5f5b297eb01b5a17bee90 Author: Bogdan Purcareata Date: 2015-10-05 (Mon, 05 Oct 2015) Changed paths: M src/lxc/s

Re: [lxc-devel] [PATCH] lxc_mount_auto_mounts: fix weirdness

2015-10-05 Thread Stéphane Graber
On Sat, Oct 03, 2015 at 09:52:16PM +, Serge Hallyn wrote: > The default_mounts[i].destination is never NULL except in the last > 'stop here' entry. Coverity doesn't know about that and so is spewing > a warning. In any case, let's add a more stringent check in case someone > accidentally adds

Re: [lxc-devel] [PATCH] doc: Add the note related mount in Japanese lxc.container.conf(5)

2015-10-05 Thread Stéphane Graber
On Wed, Sep 30, 2015 at 03:19:27PM +0900, KATOH Yasufumi wrote: > Update for commit 592fd47 > > Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber > --- > doc/ja/lxc.container.conf.sgml.in | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/doc/ja/lxc.container.c

Re: [lxc-devel] [PATCH] lxc-test-symlink: add a test using absolute symlink

2015-10-05 Thread Stéphane Graber
On Wed, Sep 30, 2015 at 06:01:01PM +, Serge Hallyn wrote: > This would have caught the regression last night. > > Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber > --- > src/tests/lxc-test-symlink | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/tests/lxc-test-symlink b

Re: [lxc-devel] [PATCH] Make lxc-start-ephemeral use lxc.ephemeral

2015-10-05 Thread Stéphane Graber
On Wed, Sep 30, 2015 at 06:09:49PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > While lxc-copy is under review let users benefit (reboot survival etc.) > > from the > > new lxc.ephemeral option already in lxc-start-ephemeral. This way we can > > remo

Re: [lxc-devel] [PATCH v2 5/7] pass namespace handles to the stop hook

2015-10-05 Thread Wolfgang Bumiller
> On October 2, 2015 at 4:36 PM Serge Hallyn wrote: > > > Quoting Wolfgang Bumiller (w.bumil...@proxmox.com): > > I'd rather change to > > char *namespaces[LXC_NS_MAX+1]; > > That's good. So with that being the only change should I include the Acked-by line in this patch?

Re: [lxc-devel] [PATCH v2 7/7] added the unmount-namespace hook

2015-10-05 Thread Wolfgang Bumiller
I pass /proc/$monitor/fd/$number. I'm not sure when /proc/*/fd/ was introduced, but it seems to be older than 2.6.12 which is where the kernel's git history starts ;-) The /proc/self/ns/* namespaces are opened via preserve_namespaces by the monitor which was already in the code (I just added the p