Re: [Lxc-users] limit number of processes

2012-03-01 Thread Ulli Horlacher
On Tue 2011-10-18 (14:54), Papp Tamas wrote: Is it possible to limit the maximum number of processes per container? I have the same problem. A user has killed the host (and therefore all containers) with a simple shell command: :(){ :|: };: (Kids, don't try this at home!) -- Ullrich

[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

Re: [Lxc-users] limit number of processes

2012-03-01 Thread Daniel Lezcano
On 10/18/2011 02:54 PM, Papp Tamas wrote: hi! Is it possible to limit the maximum number of processes per container? Not yet but it is on the way. http://lkml.indiana.edu/hypermail/linux/kernel/1109.0/01455.html Hope the patchset will be merged soon in the kernel. -- Daniel

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

2012-03-01 Thread Daniel Lezcano
On 03/01/2012 08:32 PM, Arun M wrote: 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

Re: [Lxc-users] nilfs

2012-03-01 Thread Iliyan Stoyanov
Hi, I'm currently using btrfs raid 1 for a production server with 4 LXC containers (SL6.x) on it (old single core opteron w/ 4GB ECC RAM). The host is Fedora 16. So far I'm really happy with it. I do create snapshots of mercurial repos frequently with no problems at all. As to nilfs, my

[Lxc-users] Fedora 16 LXC Container, D-Bus error?

2012-03-01 Thread Schorschi
Is there a way to solve this error? # service sshd status Failed to get D-Bus connection: No connection to service manager D-Bus is installed, confirmed via yum Schorschi -- Virtualization Cloud Management

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

2012-03-01 Thread Jäkel , Guido
Dear Arun, You may also use a DHCP environment to setup the containers network IP, routing, DNS-Servers etc. This approach will ease any changes of the network infrastructure and will help you to make your templates more generic. For that, you have the to assign a fix MAC address to the

Re: [Lxc-users] Fedora 16 LXC Container, D-Bus error?

2012-03-01 Thread rhanna
Could you tell me what is the steps you did to get f16 running? -- Sent from my Nokia N9On 2.3.2012 3:26 Schorschi wrote: Is there a way to solve this error? # service sshd status Failed to get D-Bus connection: No connection to service manager D-Bus is installed, confirmed via yum