Re: [lxc-devel] Howto user namespaces?

2013-04-14 Thread richard -rw- weinberger
On Sun, Apr 14, 2013 at 12:14 AM, richard -rw- weinberger wrote: > Serge, has magic is hidden in your lxc package? :-) -EBADENGLISH Should read ", what magic is hidden in your lxc package" Serge, can you please try an unmodified lxc-0.9.0 package on your setup? -- Thanks, //richard --

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-14 Thread S . Çağlar Onur
Hi all, I had some free time today so I tried to implement something using AF_INET messages over loopback broadcast address. I'm not including the patch here because gmail web interface damages it and that's what I use right now so please use [1] to see it. I'm sending it to get your feedback and

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-14 Thread Daniel Lezcano
On 04/14/2013 09:56 PM, S.Çağlar Onur wrote: > Hi all, > > I had some free time today so I tried to implement something using > AF_INET messages over loopback broadcast address. I'm not including > the patch here because gmail web interface damages it and that's what > I use right now so please use

Re: [lxc-devel] [PATCH] Use container specific domain socket name

2013-04-14 Thread S . Çağlar Onur
Hi Daniel, On Sun, Apr 14, 2013 at 4:42 PM, Daniel Lezcano wrote: > On 04/14/2013 09:56 PM, S.Çağlar Onur wrote: > > Hi all, > > > > I had some free time today so I tried to implement something using > > AF_INET messages over loopback broadcast address. I'm not including > > the patch here becau

[lxc-devel] [PATCH 1/2] Support starting containers concurrently

2013-04-14 Thread S . Çağlar Onur
From: "S.Çağlar Onur" Trying to start multiple containers concurrently may cause lxc_monitor_read_timeout to fail as select call could be interrupted by a signal, handle it. --- src/lxc/state.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lxc/state.c b/sr

[lxc-devel] Support starting/stopping container concurrently

2013-04-14 Thread S . Çağlar Onur
Hi, Following two patches require AF_INET patch that I sent earlier to be applied on staging tree as otherwise LXC gives "bind : Address already in use". They try to address remaining set of problems for starting/stopping multiple containers concurrently. I'm sending them to get your feedback

[lxc-devel] [PATCH 2/2] Support stopping containers concurrently

2013-04-14 Thread S . Çağlar Onur
From: "S.Çağlar Onur" Trying to stop multiple containers concurrently ends up with "cgroup is not mounted" errors as multiple threads corrupts the shared variables. Fix that stack corruption and start to use getmntent_r to support stopping multiple containers concurrently. --- src/lxc/cgroup.c