Re: [lxc-devel] [PATCH] cgfs: Log the whole cgroup path too

2014-06-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn > --- > src/lxc/cgfs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/lxc/cgfs.c b/src/lxc/cgfs.c > index d59a305..796b220 100644 > --- a/src/lxc/cgfs.c

Re: [lxc-devel] [PATCH] tests: Wait 5s for init to respond in lxc-test-autostart

2014-06-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > lxc-test-autostart occasionaly fails at the restart test in the CI > environment. Looking at the current test case, the most obvious race > there is if lxc-wait exists succesfuly immediately after LXC marked the > container RUNNING (init spawned) but

[lxc-devel] [PATCH] tests: Wait 5s for init to respond in lxc-test-autostart

2014-06-09 Thread Stéphane Graber
lxc-test-autostart occasionaly fails at the restart test in the CI environment. Looking at the current test case, the most obvious race there is if lxc-wait exists succesfuly immediately after LXC marked the container RUNNING (init spawned) but before init had a chance to setup the signal handlers.

[lxc-devel] [PATCH] cgfs: Log the whole cgroup path too

2014-06-09 Thread Stéphane Graber
Signed-off-by: Stéphane Graber --- src/lxc/cgfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/cgfs.c b/src/lxc/cgfs.c index d59a305..796b220 100644 --- a/src/lxc/cgfs.c +++ b/src/lxc/cgfs.c @@ -953,7 +953,7 @@ static struct cgroup_process_info *lxc_cgroupfs_cr

[lxc-devel] [lxc/lxc] 1a9c04: container start: check for start hooks in containe...

2014-06-09 Thread GitHub
Branch: refs/heads/stable-1.0 Home: https://github.com/lxc/lxc Commit: 1a9c040fc2abb64017dee17e259cb2d14243f68a https://github.com/lxc/lxc/commit/1a9c040fc2abb64017dee17e259cb2d14243f68a Author: Serge Hallyn Date: 2014-06-09 (Mon, 09 Jun 2014) Changed paths: M src/lxc/co

[lxc-devel] [lxc/lxc] 1c1c70: container start: check for start hooks in containe...

2014-06-09 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 1c1c70514f20fed5137fd6028810a9f7be9d1eba https://github.com/lxc/lxc/commit/1c1c70514f20fed5137fd6028810a9f7be9d1eba Author: Serge Hallyn Date: 2014-06-09 (Mon, 09 Jun 2014) Changed paths: M src/lxc/conf.c

Re: [lxc-devel] [PATCH 1/1] container start: check for start hooks in container rootfs

2014-06-09 Thread Stéphane Graber
On Tue, Jun 10, 2014 at 03:29:11AM +, Serge Hallyn wrote: > Do so early enough that we can report a meaningful failure. > > (This should with https://github.com/lxc/lxc/issues/225) > > Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber > --- > src/lxc/conf.c | 28 +

[lxc-devel] [PATCH 1/1] container start: check for start hooks in container rootfs

2014-06-09 Thread Serge Hallyn
Do so early enough that we can report a meaningful failure. (This should with https://github.com/lxc/lxc/issues/225) Signed-off-by: Serge Hallyn --- src/lxc/conf.c | 28 1 file changed, 28 insertions(+) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index a631571..4b

Re: [lxc-devel] my fedora container and the host time/date are different.

2014-06-09 Thread Michael H. Warfield
On Mon, 2014-06-09 at 14:55 -0700, Steven Howe wrote: > The container is at > Mon Jun 9 21:51:44 UTC 2014 > while the host is at > Mon Jun 9 14:52:14 PDT 2014 Date and time look about the same to me, just the TZ is off. > I have set the /etc/localtime to the same value as the host, then > res

[lxc-devel] my fedora container and the host time/date are different.

2014-06-09 Thread Steven Howe
The container is at Mon Jun 9 21:51:44 UTC 2014 while the host is at Mon Jun 9 14:52:14 PDT 2014 I have set the /etc/localtime to the same value as the host, then restarted, but nothing changed. Any suggestions? Steven ___ lxc-devel mailing list lxc

[lxc-devel] [lxc/lxc] 4e3124: python3: Fix crashes in snapshot()

2014-06-09 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 4e31246a25d29db0c554ae2f6b34fc19b8fcdefd https://github.com/lxc/lxc/commit/4e31246a25d29db0c554ae2f6b34fc19b8fcdefd Author: Stéphane Graber Date: 2014-06-09 (Mon, 09 Jun 2014) Changed paths: M src/python-

[lxc-devel] [lxc/lxc] d18de3: python3: Fix crashes in snapshot()

2014-06-09 Thread GitHub
Branch: refs/heads/stable-1.0 Home: https://github.com/lxc/lxc Commit: d18de3bcfee42aea19b58fde5abda7232725a0b2 https://github.com/lxc/lxc/commit/d18de3bcfee42aea19b58fde5abda7232725a0b2 Author: Stéphane Graber Date: 2014-06-09 (Mon, 09 Jun 2014) Changed paths: M src/pyt

Re: [lxc-devel] [PATCH] python3: Fix crashes in snapshot()

2014-06-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > This makes sure all PyObject structs are always initialized to NULL, > this will fix issues such as (issue #239). > > Also add a snapshot/list/restore testcase to the python3 api test code. > > Signed-off-by: Stéphane Graber Acked-by: Serge E. Ha

[lxc-devel] [PATCH] python3: Fix crashes in snapshot()

2014-06-09 Thread Stéphane Graber
This makes sure all PyObject structs are always initialized to NULL, this will fix issues such as (issue #239). Also add a snapshot/list/restore testcase to the python3 api test code. Signed-off-by: Stéphane Graber --- src/python-lxc/examples/api_test.py | 8 src/python-lxc/lxc.c

Re: [lxc-devel] No libcap.a on Fedora and derived distros

2014-06-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Mon, Jun 09, 2014 at 02:34:07PM -0400, Dwight Engen wrote: > > On Mon, 9 Jun 2014 14:14:31 -0400 > > Stéphane Graber wrote: > > > > > On Mon, Jun 09, 2014 at 02:10:36PM -0400, Dwight Engen wrote: > > > > Hi, > > > > > > > > I ran into a bit of

Re: [lxc-devel] No libcap.a on Fedora and derived distros

2014-06-09 Thread Stéphane Graber
On Mon, Jun 09, 2014 at 02:34:07PM -0400, Dwight Engen wrote: > On Mon, 9 Jun 2014 14:14:31 -0400 > Stéphane Graber wrote: > > > On Mon, Jun 09, 2014 at 02:10:36PM -0400, Dwight Engen wrote: > > > Hi, > > > > > > I ran into a bit of a problem building master: > > > Fedora (and derived distro's s

Re: [lxc-devel] No libcap.a on Fedora and derived distros

2014-06-09 Thread Dwight Engen
On Mon, 9 Jun 2014 14:14:31 -0400 Stéphane Graber wrote: > On Mon, Jun 09, 2014 at 02:10:36PM -0400, Dwight Engen wrote: > > Hi, > > > > I ran into a bit of a problem building master: > > Fedora (and derived distro's such as CentOs, Oracle, RHEL) don't > > ship with a static lib for libcap, whic

Re: [lxc-devel] No libcap.a on Fedora and derived distros

2014-06-09 Thread Stéphane Graber
On Mon, Jun 09, 2014 at 02:10:36PM -0400, Dwight Engen wrote: > Hi, > > I ran into a bit of a problem building master: > Fedora (and derived distro's such as CentOs, Oracle, RHEL) don't ship > with a static lib for libcap, which is needed to build init.lxc.static > (commit 2d4b3e3d). Apparently [1

[lxc-devel] No libcap.a on Fedora and derived distros

2014-06-09 Thread Dwight Engen
Hi, I ran into a bit of a problem building master: Fedora (and derived distro's such as CentOs, Oracle, RHEL) don't ship with a static lib for libcap, which is needed to build init.lxc.static (commit 2d4b3e3d). Apparently [1] Fedora doesn't intend to ship one, thus there isn't a libcap-static. Any

Re: [lxc-devel] TODO list?

2014-06-09 Thread Seth Forshee
On Mon, Jun 09, 2014 at 04:01:22PM +, Serge Hallyn wrote: > Quoting Christian Evans (fro...@zoho.com): > > Hi folks! > > > > I am looking for a way to improve [security of] Linux Containers. > > > > Where I can find any ToDo/features list, so I could help the project? > > Hm, there isn't one

Re: [lxc-devel] [RFC] Per-user namespace process accounting

2014-06-09 Thread James Bottomley
On Tue, 2014-06-03 at 10:54 -0700, Eric W. Biederman wrote: > Serge Hallyn writes: > > > Quoting Pavel Emelyanov (xe...@parallels.com): > >> On 05/29/2014 07:32 PM, Serge Hallyn wrote: > >> > Quoting Marian Marinov (m...@1h.com): > >> >> We are not using NFS. We are using a shared block storage t

Re: [lxc-devel] TODO list?

2014-06-09 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Mon, Jun 09, 2014 at 04:01:22PM +, Serge Hallyn wrote: > > Quoting Christian Evans (fro...@zoho.com): > > > Hi folks! > > > > > > I am looking for a way to improve [security of] Linux Containers. > > > > > > Where I can find any ToDo/feature

Re: [lxc-devel] TODO list?

2014-06-09 Thread Michael H. Warfield
On Mon, 2014-06-09 at 16:01 +, Serge Hallyn wrote: > Quoting Christian Evans (fro...@zoho.com): > > Hi folks! > > > > I am looking for a way to improve [security of] Linux Containers. > > > > Where I can find any ToDo/features list, so I could help the project? > Hm, there isn't one right no

Re: [lxc-devel] TODO list?

2014-06-09 Thread Stéphane Graber
On Mon, Jun 09, 2014 at 04:01:22PM +, Serge Hallyn wrote: > Quoting Christian Evans (fro...@zoho.com): > > Hi folks! > > > > I am looking for a way to improve [security of] Linux Containers. > > > > Where I can find any ToDo/features list, so I could help the project? > > Hm, there isn't one

Re: [lxc-devel] TODO list?

2014-06-09 Thread Serge Hallyn
Quoting Christian Evans (fro...@zoho.com): > Hi folks! > > I am looking for a way to improve [security of] Linux Containers. > > Where I can find any ToDo/features list, so I could help the project? Hm, there isn't one right now that is uptodate, especially pertaining to security. If security i

[lxc-devel] LXC 1.0.4 approaching

2014-06-09 Thread Stéphane Graber
Hey there, I just pushed Mike's lxc-autostart change to 1.0.4 as it was requested by both him (for Fedora) and Dwight (for Oracle). There's one more crasher in the python3 binding I'd like to sort out and then I think I'll be good for 1.0.4 on my side. My current plan is for a release in the ear

[lxc-devel] [lxc/lxc] 38402e: Backport of autoboot/autostart rollup to stable-1....

2014-06-09 Thread GitHub
Branch: refs/heads/stable-1.0 Home: https://github.com/lxc/lxc Commit: 38402e4d112925d870989401bf02bc9c843cb066 https://github.com/lxc/lxc/commit/38402e4d112925d870989401bf02bc9c843cb066 Author: Michael H. Warfield Date: 2014-06-09 (Mon, 09 Jun 2014) Changed paths: M .gi