[Lxc-users] dangling cgroups after lxc-execute with ns_cgroup

2012-07-06 Thread Arun M
Hi, I updated to lxc-0.8.0-rc2 and after that I observe dangling cgroups (/cgroup/PID) in the filesystem after lxc-execute terminates. I am using ns_cgroup. Looks like a process is spawned in a new namespace but lxc-fails to remove the cgroup directory. After a long time these dangling cgroups

[Lxc-users] PID namespace behavior

2012-04-11 Thread Arun M
Hello, I am observing that if two containers are spawned via lxc-execute and if these happen to be in the same process group, a process inside one container can terminate the second container by sending a SIGTERM to the process group. Code snippet of the test program that was running inside

Re: [Lxc-users] PID namespace behavior

2012-04-11 Thread Arun M
On Wed, Apr 11, 2012 at 7:52 PM, Serge Hallyn serge.hal...@canonical.comwrote: Quoting Arun M (arunmahadevai...@gmail.com): Hello, I am observing that if two containers are spawned via lxc-execute and if these happen to be in the same process group, a process inside one container can

[Lxc-users] Multiple lxc containers with same IP/ethernet address

2012-03-29 Thread Arun M
Hello, I have a set up where there are multiple short lived containers (sharing the same IP address) in a host. When a TCP connection is established from the container to an outside host (in a different network in the LAN), the connection establishment takes a long time (around 3 secs). The

[Lxc-users] adding a default gateway inside a container as a non root user

2012-03-01 Thread Arun M
Hi, I am trying to add a default gateway inside a lxc container so that the application can talk to outside network.  I used lxc-setcap to set capabilities and started the container as a non-root user. lxc-execute -n alpha -f a.conf -- /bin/start.sh in start.sh :- #!/bin/sh route add default