[lxc-devel] [PATCH] move bdev_specs struct into lxccontainer.h to allow API users to use it

2014-05-20 Thread S . Çağlar Onur
Signed-off-by: S.Çağlar Onur --- src/lxc/bdev.h | 17 - src/lxc/lxccontainer.h | 18 ++ 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/lxc/bdev.h b/src/lxc/bdev.h index 0893c11..9d03b10 100644 --- a/src/lxc/bdev.h +++ b/src/lxc/bdev.h

[lxc-devel] [lxc/lxc] fd5271: cgmanager: slow down there (don't always grab abs ...

2014-05-20 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: fd527175ad02cef8a33999865392f30e69c70dfa https://github.com/lxc/lxc/commit/fd527175ad02cef8a33999865392f30e69c70dfa Author: Serge Hallyn Date: 2014-05-20 (Tue, 20 May 2014) Changed paths: M src/lxc/cgmana

Re: [lxc-devel] [PATCH] lxc-oracle: fix ssh login under libvirt-lxc

2014-05-20 Thread Stéphane Graber
On Tue, May 20, 2014 at 04:46:10PM -0400, Dwight Engen wrote: > Signed-off-by: Dwight Engen Acked-by: Stéphane Graber > --- > templates/lxc-oracle.in | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in > index 8a8c821..7a704e6 100644 >

Re: [lxc-devel] [PATCH] cgmanager: slow down there (don't always grab abs cgroup path)

2014-05-20 Thread Stéphane Graber
On Tue, May 20, 2014 at 11:47:17AM -0500, Serge Hallyn wrote: > When I converted attach and enter to using move_pid_abs, these needed > to use the new get_pid_cgroup_abs method to get an absolute path. But > for some inexplicable reason I also converted the functions which get > and set cgroup pro

[lxc-devel] [PATCH] lxc-oracle: fix ssh login under libvirt-lxc

2014-05-20 Thread Dwight Engen
Signed-off-by: Dwight Engen --- templates/lxc-oracle.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in index 8a8c821..7a704e6 100644 --- a/templates/lxc-oracle.in +++ b/templates/lxc-oracle.in @@ -129,6 +129,8 @@ EOF fi sed -i 's|

Re: [lxc-devel] lxc on openSUSE: lxc-top not working due to lua?

2014-05-20 Thread Dwight Engen
On Tue, 20 May 2014 21:24:57 +0200 Johannes Kastl wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > First of all, > > John, thanks for the answer and the link. > > On 19.05.2014 22:57 Michael H. Warfield wrote: > > > Nice! I love these sorts of discussions. I learn so much shit.

Re: [lxc-devel] lxc on openSUSE: lxc-top not working due to lua?

2014-05-20 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19.05.2014 22:36 Dwight Engen wrote: >> configure will try to detect if lua support can be built, so it >> probably depends on what is installed/available in your build >> environment. As there seem to be no packages for the lua dependencies alt

Re: [lxc-devel] lxc on openSUSE: lxc-top not working due to lua?

2014-05-20 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18.05.2014 15:27 Michael H. Warfield wrote: > Definitely going to check that out. I got the spec to build on the obs, but only for the suses. I get a strange error, has anyone else seen this? Basically suddenly it wants to use /usr/share/lxc inst

Re: [lxc-devel] lxc on openSUSE: lxc-top not working due to lua?

2014-05-20 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First of all, John, thanks for the answer and the link. On 19.05.2014 22:57 Michael H. Warfield wrote: > Nice! I love these sorts of discussions. I learn so much shit. I > can use that to quiet a whole bunch of duplicate warnings in some > other

[lxc-devel] [PATCH 5/3] configure.ac: don't let -lcgmanager end up in LIBS

2014-05-20 Thread Serge Hallyn
AC_SEARCH_LIBS always places the library being queried into LIBS. We don't want that - we were only checking whether a function is available. Not everything (notably not init.lxc.static) needs to link against -lcgmanager. Signed-off-by: Serge Hallyn --- configure.ac | 2 ++ 1 file changed, 2 i

Re: [lxc-devel] [PATCH 2/3] execute: bind init.lxc.static into container

2014-05-20 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@ubuntu.com): > Quoting Serge Hallyn (serge.hal...@ubuntu.com): > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > > On Mon, May 19, 2014 at 03:51:28PM +, Serge Hallyn wrote: > > > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > > > > On Mon, May 12, 2

[lxc-devel] [PATCH 4/3] execute: don't bind mount init.lxc.static if lxc-init is in the container

2014-05-20 Thread Serge Hallyn
Move choose_init into utils.c so we can re-use it. Make it and on_path accept an optional rootfs argument to prepend to the paths when checking whether the file exists. Also add lxc.init.static to .gitignore Signed-off-by: Serge Hallyn --- .gitignore| 1 + src/lxc/conf.c| 13 +++

Re: [lxc-devel] [PATCH 2/3] execute: bind init.lxc.static into container

2014-05-20 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@ubuntu.com): > Quoting Stéphane Graber (stgra...@ubuntu.com): > > On Mon, May 19, 2014 at 03:51:28PM +, Serge Hallyn wrote: > > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > > > On Mon, May 12, 2014 at 06:04:00PM +, Serge Hallyn wrote: > > > > > Sig

Re: [lxc-devel] [PATCH] add init.lxc.static to .gitignore

2014-05-20 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@ubuntu.com): > Signed-off-by: Serge Hallyn Oops, I forgot that isn't in git yet, nm. > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index 8145f81..a69ffde 100644 > --- a/.gitignore > +++ b/.gitignore > @@

[lxc-devel] [PATCH] cgmanager: slow down there (don't always grab abs cgroup path)

2014-05-20 Thread Serge Hallyn
When I converted attach and enter to using move_pid_abs, these needed to use the new get_pid_cgroup_abs method to get an absolute path. But for some inexplicable reason I also converted the functions which get and set cgroup properties to use the absolute paths. These are simply not compatible wi

[lxc-devel] [PATCH] add init.lxc.static to .gitignore

2014-05-20 Thread Serge Hallyn
Signed-off-by: Serge Hallyn --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8145f81..a69ffde 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ templates/lxc-ubuntu templates/lxc-ubuntu-cloud src/lxc/init.lxc +src/lxc/init.lxc.static s

[lxc-devel] [lxc/lxc] fd4d29: lxc-oracle: set hostname with systemd

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

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

2014-05-20 Thread Seth Forshee
On Mon, May 19, 2014 at 05:04:55PM -0700, Eric W. Biederman wrote: > Seth Forshee writes: > > > What I set out for was feature parity between loop devices in a secure > > container and loop devices on the host. Since some operations currently > > check for system-wide CAP_SYS_ADMIN, the only way

Re: [lxc-devel] [PATCH] lxc-oracle: set hostname with systemd

2014-05-20 Thread Stéphane Graber
On Tue, May 20, 2014 at 10:33:30AM -0400, Dwight Engen wrote: > Signed-off-by: Dwight Engen Acked-by: Stéphane Graber > --- > templates/lxc-oracle.in | 4 > 1 file changed, 4 insertions(+) > > diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in > index 2fa289b..8a8c821 100644

Re: [lxc-devel] [PATCH 2/3] execute: bind init.lxc.static into container

2014-05-20 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Mon, May 19, 2014 at 03:51:28PM +, Serge Hallyn wrote: > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > > On Mon, May 12, 2014 at 06:04:00PM +, Serge Hallyn wrote: > > > > Signed-off-by: Serge Hallyn > > > > > > So one concern here

[lxc-devel] [PATCH] lxc-oracle: set hostname with systemd

2014-05-20 Thread Dwight Engen
Signed-off-by: Dwight Engen --- templates/lxc-oracle.in | 4 1 file changed, 4 insertions(+) diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in index 2fa289b..8a8c821 100644 --- a/templates/lxc-oracle.in +++ b/templates/lxc-oracle.in @@ -340,6 +340,10 @@ TYPE=Ethernet EOF

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

2014-05-20 Thread Michael H. Warfield
On Tue, 2014-05-20 at 11:56 +0200, Stéphane Graber wrote: > On Mon, May 19, 2014 at 03:57:26PM -0400, Michael H. Warfield wrote: > > On Mon, 2014-05-19 at 17:22 +0200, Stéphane Graber wrote: > > > On Fri, May 16, 2014 at 02:07:31PM -0400, Michael H. Warfield wrote: > > > > Before anyone else spots

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

2014-05-20 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@ubuntu.com): > Quoting Seth Forshee (seth.fors...@canonical.com): > > On Sun, May 18, 2014 at 04:44:58AM +0200, Serge E. Hallyn wrote: > > > Quoting Seth Forshee (seth.fors...@canonical.com): > > > > On Fri, May 16, 2014 at 09:31:37PM -0700, Eric W. Biederman wrot

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

2014-05-20 Thread Serge Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): > On May 15, 2014 1:26 PM, "Serge E. Hallyn" wrote: > > > > 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

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

2014-05-20 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Mon, 2014-05-19 at 17:04 -0700, Eric W. Biederman wrote: > > Seth Forshee writes: > > > > > What I set out for was feature parity between loop devices in a secure > > > container and loop devices on the host. Since some operations currently >

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

2014-05-20 Thread Serge Hallyn
Quoting Seth Forshee (seth.fors...@canonical.com): > On Sun, May 18, 2014 at 04:44:58AM +0200, Serge E. Hallyn wrote: > > Quoting Seth Forshee (seth.fors...@canonical.com): > > > On Fri, May 16, 2014 at 09:31:37PM -0700, Eric W. Biederman wrote: > > > > Greg Kroah-Hartman writes: > > > > > > > >

[lxc-devel] [lxc/lxc] e70212: lxc-devsetup: Don't use [[ because sh does not sup...

2014-05-20 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: e702123afe1a318c41cb7eb96223ae6ba5d21751 https://github.com/lxc/lxc/commit/e702123afe1a318c41cb7eb96223ae6ba5d21751 Author: ChangZhuo Chen (陳昌倬) Date: 2014-05-20 (Tue, 20 May 2014) Changed paths: M config

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

2014-05-20 Thread Stéphane Graber
On Mon, May 19, 2014 at 03:57:26PM -0400, Michael H. Warfield wrote: > On Mon, 2014-05-19 at 17:22 +0200, Stéphane Graber wrote: > > On Fri, May 16, 2014 at 02:07:31PM -0400, Michael H. Warfield wrote: > > > Before anyone else spots it... I did miss one spot where I failed to > > > toss a list (cm

Re: [lxc-devel] [PATCH 2/3] execute: bind init.lxc.static into container

2014-05-20 Thread Stéphane Graber
On Mon, May 19, 2014 at 03:51:28PM +, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > > On Mon, May 12, 2014 at 06:04:00PM +, Serge Hallyn wrote: > > > Signed-off-by: Serge Hallyn > > > > So one concern here is that SBINDIR may be pretty much anything and may > > lo

Re: [lxc-devel] [PATCH] doc: Fix Japanese lxc.containers.conf(5)

2014-05-20 Thread KATOH Yasufumi
>>> On Tue, 20 May 2014 10:13:37 +0200 in message "Re: [lxc-devel] [PATCH] doc: Fix Japanese lxc.containers.conf(5)" Stéphane Graber-san wrote: > Hmm, I somehow missed that one and so fixed it myself with an identical > change... No problem! Thanks for fix!! (and sorry my

[lxc-devel] [lxc/lxc] 11ef02: lxc-oracle: add pts/[1-4] to securetty for libvirt...

2014-05-20 Thread GitHub
Branch: refs/heads/stable-1.0 Home: https://github.com/lxc/lxc Commit: 11ef02339a29ef401eb21c0f38807faa51cf9032 https://github.com/lxc/lxc/commit/11ef02339a29ef401eb21c0f38807faa51cf9032 Author: Dwight Engen Date: 2014-05-20 (Tue, 20 May 2014) Changed paths: M templates/

Re: [lxc-devel] [PATCH] doc: Fix Japanese lxc.containers.conf(5)

2014-05-20 Thread Stéphane Graber
On Tue, May 20, 2014 at 02:50:56AM +0900, KATOH Yasufumi wrote: > Fix broken XML in commit e053b31 Hmm, I somehow missed that one and so fixed it myself with an identical change... > > Signed-off-by: KATOH Yasufumi > --- > doc/ja/lxc.container.conf.sgml.in | 2 ++ > 1 file changed, 2 insertion