Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Michael H. Warfield
On Tue, 2013-10-01 at 15:46 -0500, Serge Hallyn wrote: > Quoting Eric W. Biederman (ebied...@xmission.com): > > "Serge E. Hallyn" writes: > > > > > Quoting Andy Lutomirski (l...@amacapital.net): > > >> On Tue, Oct 1, 2013 at 7:19 AM, Janne Karhunen > > >> wrote: > > >> > On Thu, Sep 26, 2013 a

[lxc-devel] [PATCH] add new tests to .gitignore

2013-10-01 Thread Serge Hallyn
Signed-off-by: Serge Hallyn --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 835739e..4e86614 100644 --- a/.gitignore +++ b/.gitignore @@ -90,6 +90,8 @@ src/tests/lxc-test-shutdowntest src/tests/lxc-test-snapshot src/tests/lxc-test-startone src

[lxc-devel] [PATCH] add reboot test

2013-10-01 Thread Serge Hallyn
It's really more of a kernel check, but worth having. Signed-off-by: Serge Hallyn --- src/tests/Makefile.am | 4 +- src/tests/reboot.c| 139 ++ 2 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 src/tests/reboot.c diff --g

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Michael J Coss
On 10/1/2013 4:46 PM, Serge Hallyn wrote: > I thought the suggestion was that udev on the host would be given > container-specific rules, saying "plop this device into /dev/container1/" > (with /dev/container1 being bind-mounted to $container1_rootfs/dev). > > -serge At least for my use case this i

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Michael H. Warfield
On Tue, 2013-10-01 at 12:51 -0700, Eric W. Biederman wrote: > "Serge E. Hallyn" writes: > > > Quoting Andy Lutomirski (l...@amacapital.net): > >> On Tue, Oct 1, 2013 at 7:19 AM, Janne Karhunen > >> wrote: > >> > On Thu, Sep 26, 2013 at 8:33 AM, Greg Kroah-Hartman > >> > wrote: > >> > > >> >>>

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2013 at 12:51:36PM -0700, Eric W. Biederman wrote: > "Serge E. Hallyn" writes: > > > Quoting Andy Lutomirski (l...@amacapital.net): > >> On Tue, Oct 1, 2013 at 7:19 AM, Janne Karhunen > >> wrote: > >> > On Thu, Sep 26, 2013 at 8:33 AM, Greg Kroah-Hartman > >> > wrote: > >> > >

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Serge Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > "Serge E. Hallyn" writes: > > > Quoting Andy Lutomirski (l...@amacapital.net): > >> On Tue, Oct 1, 2013 at 7:19 AM, Janne Karhunen > >> wrote: > >> > On Thu, Sep 26, 2013 at 8:33 AM, Greg Kroah-Hartman > >> > wrote: > >> > > >> >>> - We can

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > Quoting Andy Lutomirski (l...@amacapital.net): >> On Tue, Oct 1, 2013 at 7:19 AM, Janne Karhunen >> wrote: >> > On Thu, Sep 26, 2013 at 8:33 AM, Greg Kroah-Hartman >> > wrote: >> > >> >>> - We can relay a call of /sbin/hotplug from outside of a container >> >>> to

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Janne Karhunen
On Tue, Oct 1, 2013 at 8:27 PM, Andy Lutomirski wrote: >> http://lists.linuxfoundation.org/pipermail/containers/2013-May/032591.html > > Can't the daemon live outside the container and shuffle stuff in? > IOW, there seems to be little point in containerizing things if you're > just going to punch

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Serge E. Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): > On Tue, Oct 1, 2013 at 7:19 AM, Janne Karhunen > wrote: > > On Thu, Sep 26, 2013 at 8:33 AM, Greg Kroah-Hartman > > wrote: > > > >>> - We can relay a call of /sbin/hotplug from outside of a container > >>> to inside of a container based on polic

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Andy Lutomirski
On Tue, Oct 1, 2013 at 7:19 AM, Janne Karhunen wrote: > On Thu, Sep 26, 2013 at 8:33 AM, Greg Kroah-Hartman > wrote: > >>> - We can relay a call of /sbin/hotplug from outside of a container >>> to inside of a container based on policy. >>> (But no one uses /sbin/hotplug anymore). >> >> That's

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Janne Karhunen
On Tue, Oct 1, 2013 at 8:33 PM, Greg Kroah-Hartman wrote: >> > That's right, they should be listening to libudev events, so why can't >> > your daemon shuffle them off to the proper container, all in userspace? >> >> Which reminds me, one potential reason being.. >> http://lists.linuxfoundation.o

Re: [lxc-devel] Device Namespaces

2013-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2013 at 09:19:58AM +0300, Janne Karhunen wrote: > On Thu, Sep 26, 2013 at 8:33 AM, Greg Kroah-Hartman > wrote: > > >> - We can relay a call of /sbin/hotplug from outside of a container > >> to inside of a container based on policy. > >> (But no one uses /sbin/hotplug anymore).

[lxc-devel] [lxc/lxc] fbf050: lxc-monitor default name to .* to monitor all cont...

2013-10-01 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: fbf050e4c211030eb343008583f76605dfaaef38 https://github.com/lxc/lxc/commit/fbf050e4c211030eb343008583f76605dfaaef38 Author: Dwight Engen Date: 2013-10-01 (Tue, 01 Oct 2013) Changed paths: M doc/lxc-monito

[lxc-devel] [PATCH] lxc-monitor default name to .* to monitor all containers

2013-10-01 Thread Dwight Engen
Signed-off-by: Dwight Engen --- doc/lxc-monitor.sgml.in | 13 - src/lxc/lxc_monitor.c | 3 ++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/lxc-monitor.sgml.in b/doc/lxc-monitor.sgml.in index a0aa7df..abd668a 100644 --- a/doc/lxc-monitor.sgml.in +++ b/doc/lxc

Re: [lxc-devel] [PATCH] lxc-monitor default name to .* to monitor all containers

2013-10-01 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn > --- > doc/lxc-monitor.sgml.in | 13 - > src/lxc/lxc_monitor.c | 3 ++- > 2 files changed, 10 insertions(+), 6 deletions(-) > > diff --git a/doc/lxc-monitor.sgml.in b/doc/lx

Re: [lxc-devel] [PATCH] gitignore doc/ja/legacy/*.1

2013-10-01 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index 84c060f..cc43c1a 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -108,6 +108,7

[lxc-devel] [lxc/lxc] 291c42: gitignore doc/ja/legacy/*.1

2013-10-01 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 291c42dac04c27cc0b3e855b50ec5e4af089ca7e https://github.com/lxc/lxc/commit/291c42dac04c27cc0b3e855b50ec5e4af089ca7e Author: Dwight Engen Date: 2013-10-01 (Tue, 01 Oct 2013) Changed paths: M .gitignore

[lxc-devel] [PATCH] gitignore doc/ja/legacy/*.1

2013-10-01 Thread Dwight Engen
Signed-off-by: Dwight Engen --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 84c060f..cc43c1a 100644 --- a/.gitignore +++ b/.gitignore @@ -108,6 +108,7 @@ doc/*.7 doc/ja/*.1 doc/ja/*.5 doc/ja/*.7 +doc/ja/legacy/*.1 doc/legacy/*.1 doc/manpage.li