Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Eric W. Biederman
Greg Kroah-Hartman writes: > On Fri, May 16, 2014 at 01:49:59AM +, Serge Hallyn wrote: >> > I think having to pick and choose what device nodes you want in a >> > container is a good thing. Becides, you would have to do the same thing >> > in the kernel anyway, what's wrong with userspace ma

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Michael H. Warfield
On Fri, 2014-05-16 at 22:17 +0200, Christian Seiler wrote: > Hi, > (removed every CC but yourself and lxc-devel, don't need to spam LKML > for this) > > Woa! Time out... Sorry, this will be an off topic aside. > > > > Loop devices support partitions? I'd love to know how that works. > Use ut

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Christian Seiler
Hi, (removed every CC but yourself and lxc-devel, don't need to spam LKML for this) > Woa! Time out... Sorry, this will be an off topic aside. > > Loop devices support partitions? I'd love to know how that works. Use util-linux >= 2.21 with Kernel >= 3.1: losetup -P -f filename Creates: /de

Re: [lxc-devel] Mount and other notifiers, was: [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Michael H. Warfield
On Fri, 2014-05-16 at 12:52 -0700, James Bottomley wrote: > On Fri, 2014-05-16 at 15:42 -0400, Michael H. Warfield wrote: > > > As an aside (probably requiring a new thread) we were wondering about > > > some type of notifier on the mount call that we could vector into the > > > host to perform the

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Michael H. Warfield
On Fri, 2014-05-16 at 12:20 -0700, James Bottomley wrote: > On Thu, 2014-05-15 at 21:42 -0400, Michael H. Warfield wrote: > > On Thu, 2014-05-15 at 15:15 -0700, Greg Kroah-Hartman wrote: > > > > PS - Apparently both parallels and Michael independently > > > > project devices which are hot-plugged o

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Greg Kroah-Hartman
On Fri, May 16, 2014 at 09:06:07AM -0500, Seth Forshee wrote: > On Thu, May 15, 2014 at 09:35:32PM -0700, Greg Kroah-Hartman wrote: > > On Fri, May 16, 2014 at 01:49:59AM +, Serge Hallyn wrote: > > > > I think having to pick and choose what device nodes you want in a > > > > container is a good

[lxc-devel] [lxc/lxc] 6191f4: lxc.container.conf(5): update guidance for lxc.mou...

2014-05-16 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 6191f4f421b19010cfdf2606183f830c435f22cb https://github.com/lxc/lxc/commit/6191f4f421b19010cfdf2606183f830c435f22cb Author: Serge Hallyn Date: 2014-05-16 (Fri, 16 May 2014) Changed paths: M doc/lxc.contai

Re: [lxc-devel] [PATCH] Refactoring lxc-autostart boot process and group handling.

2014-05-16 Thread Michael H. Warfield
Before anyone else spots it... I did miss one spot where I failed to toss a list (cmd_group_lists) on exit. So, some memory checkers will complain about orphaned memory or leaks (even though it's on exit). I'll fix that and add some doco once this has been reviewed further. Mike On Thu, 2014-05

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Michael H. Warfield
On Fri, 2014-05-16 at 09:06 -0500, Seth Forshee wrote: > On Thu, May 15, 2014 at 09:35:32PM -0700, Greg Kroah-Hartman wrote: > > On Fri, May 16, 2014 at 01:49:59AM +, Serge Hallyn wrote: > > > > I think having to pick and choose what device nodes you want in a > > > > container is a good thing.

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Seth Forshee
On Thu, May 15, 2014 at 09:35:32PM -0700, Greg Kroah-Hartman wrote: > On Fri, May 16, 2014 at 01:49:59AM +, Serge Hallyn wrote: > > > I think having to pick and choose what device nodes you want in a > > > container is a good thing. Becides, you would have to do the same thing > > > in the ker

Re: [lxc-devel] [PATCH] lxc.container.conf(5): update guidance for lxc.mount.entry mount target

2014-05-16 Thread Dwight Engen
On Fri, 16 May 2014 10:15:43 -0400 Serge Hallyn wrote: > For years it has been best practice to use a relative path as > the mount target. But the manpage hasn't reflect that. Fix it. > > Signed-off-by: Serge Hallyn Acked-by: Dwight Engen > --- > doc/lxc.container.conf.sgml.in | 22 ++

[lxc-devel] [PATCH] lxc.container.conf(5): update guidance for lxc.mount.entry mount target

2014-05-16 Thread Serge Hallyn
For years it has been best practice to use a relative path as the mount target. But the manpage hasn't reflect that. Fix it. Signed-off-by: Serge Hallyn --- doc/lxc.container.conf.sgml.in | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/doc/lxc.contai

[lxc-devel] [lxc/lxc] 76a26f: add support for nbd

2014-05-16 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 76a26f559ff2d9d47b2c886310e8e8c95af2c667 https://github.com/lxc/lxc/commit/76a26f559ff2d9d47b2c886310e8e8c95af2c667 Author: Serge Hallyn Date: 2014-05-16 (Fri, 16 May 2014) Changed paths: M src/lxc/bdev.c

[lxc-devel] [lxc/lxc] 7e4ca1: lxc-oracle: export upstart environment variable fo...

2014-05-16 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 7e4ca1a21debdf0d04285446e4dbff5d8647b2d3 https://github.com/lxc/lxc/commit/7e4ca1a21debdf0d04285446e4dbff5d8647b2d3 Author: Dwight Engen Date: 2014-05-16 (Fri, 16 May 2014) Changed paths: M templates/lxc-

Re: [lxc-devel] [PATCH] lxc-oracle: export upstart environment variable for maygetty

2014-05-16 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > On Fri, 16 May 2014 13:45:52 + > Serge Hallyn wrote: > > > Quoting Dwight Engen (dwight.en...@oracle.com): > > > This is a fix to commit 5f2ea8cfcb8ccd9bbb7cf18e1e260044f3f6dcaf. > > > Sorry, not sure how I missed this in testing the original

Re: [lxc-devel] [PATCH] lxc-oracle: export upstart environment variable for maygetty

2014-05-16 Thread Dwight Engen
On Fri, 16 May 2014 13:45:52 + Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): > > This is a fix to commit 5f2ea8cfcb8ccd9bbb7cf18e1e260044f3f6dcaf. > > Sorry, not sure how I missed this in testing the original patch. > > > > Signed-off-by: Dwight Engen > > In the gen

Re: [lxc-devel] [PATCH 3/2] nbd: exit cleanly if nbd fails to attach

2014-05-16 Thread Dwight Engen
On Thu, 15 May 2014 15:26:48 + Serge Hallyn wrote: > Signed-off-by: Serge Hallyn Acked-by: Dwight Engen > --- > src/lxc/bdev.c | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/src/lxc/bdev.c b/src/lxc/bdev.c > index e22d83d..1d9a25a 100644 > --- a/src/l

Re: [lxc-devel] [PATCH] lxc-oracle: export upstart environment variable for maygetty

2014-05-16 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > This is a fix to commit 5f2ea8cfcb8ccd9bbb7cf18e1e260044f3f6dcaf. > Sorry, not sure how I missed this in testing the original patch. > > Signed-off-by: Dwight Engen In the general case I assume this will work, but if I happen to do a 'stop consol

[lxc-devel] [PATCH] lxc-oracle: export upstart environment variable for maygetty

2014-05-16 Thread Dwight Engen
This is a fix to commit 5f2ea8cfcb8ccd9bbb7cf18e1e260044f3f6dcaf. Sorry, not sure how I missed this in testing the original patch. Signed-off-by: Dwight Engen --- templates/lxc-oracle.in | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in index 1

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Richard Weinberger
Am 15.05.2014 22:26, schrieb Serge E. Hallyn: > Quoting Richard Weinberger (rich...@nod.at): >> Am 15.05.2014 21:50, schrieb Serge Hallyn: >>> Quoting Richard Weinberger (richard.weinber...@gmail.com): On Thu, May 15, 2014 at 4:08 PM, Greg Kroah-Hartman wrote: > Then don't use a cont

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Richard Weinberger
On Fri, May 16, 2014 at 3:42 AM, Michael H. Warfield wrote: > On Thu, 2014-05-15 at 15:15 -0700, Greg Kroah-Hartman wrote: >> On Thu, May 15, 2014 at 05:42:54PM +, Serge Hallyn wrote: >> > What exactly defines '"normal" use case for a container'? > >> Well, I'd say "acting like a virtual machi