Re: [Lxc-users] Static IP from coinfig file?

2012-05-17 Thread Matthijs Kooijman
Hi Johannes, > > lxc.network.link= br0.tun0 Is there an actual interface called like that? Or did you somehow try to specify two bridge interfaces? You might also want to configure a gateway as well in the lxc config, btw. > How does a debian guest's /etc/network/interfac

Re: [Lxc-users] Network interface isolation

2012-05-14 Thread Matthijs Kooijman
Hi Jeetu, > I would appreciate if someone could shed light as to if this is normal > and expected behaviour and if so how could I bring about network > isolation within my container. AFAIU, this is normal: If you don't configure any networks within the lxc config file, no network isolation happens

Re: [Lxc-users] postgres

2012-05-14 Thread Matthijs Kooijman
Hi Papp, > >> kernel.shmmni = 4096 > > I assume you misspelled "shmmin" there? > > No. > Do you have shmmin?:) Oh, never mind me. I had assumed the SHMMIN mentioned in the postgresql output would have a sysctl: > If the request size is already small, it's possible that it is less > than your ke

Re: [Lxc-users] postgres

2012-05-14 Thread Matthijs Kooijman
Hi Papp, > kernel.shmmax = 2147483648 > kernel.shmall = 2147483648 > kernel.shmmni = 4096 I assume you misspelled "shmmin" there? Where did you set these values? > Originally the maximum value was 25M, I don't know how, but I could > increase it until 29M. > It starts fine with shared_buffers

Re: [Lxc-users] "hostname --fqdn" returns just an error message

2012-05-07 Thread Matthijs Kooijman
Hi Harald, > Running "hostname --fqdn" in an lxc client returns an error > message on stderr and an empty string on stdout: hostname --fqdn basically does a name lookup on whatever "hostname" returns (I think it does a forward lookup on the short hostname and then does a reverse lookup on the resu

Re: [Lxc-users] lxc-start via ssh

2012-04-27 Thread Matthijs Kooijman
Hi István, > Somehow I managed to create a shell script that can start it, but for some > reason executing the command directly via ssh does not work. > lxc-start -n fc14 -o /temp/fc14.log -s lxc.console=/temp/fc14.sys & > lxc-start -n fc14 -o /temp/fc14.log -s lxc.console=/temp/fc14.sys >> > /t

[Lxc-users] lxc-execute does not work with lxc.cap.drop = sys_admin

2011-08-24 Thread Matthijs Kooijman
Hi folks, I've setup a full system container, without sys_admin capabilities. Aside from any other side-effects this might have, I found that using lxc-execute to run a single command inside the container no longer works: $ sudo lxc-execute -n template ls lxc-init: failed to mount /proc :

[Lxc-users] Confusing documentation for lxc.utsname?

2011-08-17 Thread Matthijs Kooijman
Hi folks, I'm a bit confused about the lxc.utsname option. The lxc.conf manpage says: The utsname section defines the hostname to be set for the container. That means the container can set its own hostname without changing the one from the system. That makes the hostname