Re: [Lxc-users] Problem with network start on Arch Linux (with revised rc.conf)

2011-07-11 Thread Joerg Gollnick
Hello John, I removed the network setup completly in the container. (rc.conf DAEMONS) In rc.conf I'm using following lines: # Static IP example interface=eth0 address=192.168.0.2 netmask=24 gateway=192.168.0.1 For initialization I patched the inittab rc::sysinit:/etc/rc.sysinit.container And fin

Re: [Lxc-users] what's the difference in lxc-attach

2011-07-18 Thread Joerg Gollnick
Hello Serge, I think that the main point is the initial setup of the cgroup (directory) structure. systemd tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/syste

Re: [Lxc-users] LXC and Tun/Tap ?

2011-07-21 Thread Joerg Gollnick
Hello all, I'm using openvpn client in a container (lxc from git as 20110715) since a "few" hours. # Config from lxc.conf # tun lxc.cgroup.devices.allow = c 10:200 rwm # In the container rootfs create directory net and device tun DEV=${CONTAINER_ROOT}/dev mkdir ${DEV}/net mknod -m 666 c 10 200

Re: [Lxc-users] lxc-console over ssh

2011-07-27 Thread Joerg Gollnick
Hello John, ssh has different (pseudo) terminal allocation if you execute a command. Please use ssh -t to force pseudo-tty allocation. ssh -t remote_host lxc-console -n vps_on_remote_host The other way around is to ssh remote_host and work with lxc-* as normal. For lxc-start it is not very con

Re: [Lxc-users] Archlinux 3.0 Kernel update breaks LXC

2011-08-13 Thread Joerg Gollnick
Hello, it works here on two hosts (i686,x86_64) with lxc-git package (20110811) without any issues. (cgroup mounted at /cgroup) Are you using systemd or any other software. Hope that helps a little bit. Best regards Joerg Am Samstag, 13. August 2011, 04:57:42 schrieb l...@jelmail.com: > Hello, >

Re: [Lxc-users] help regarding lxc

2011-08-29 Thread Joerg Gollnick
Hi Nishant, your rootfs is missing /dev/pts. I use normaly following script: (replace with your location of the container rootfs) DEV=/dev rm ${DEV}/null rm ${DEV}/zero mknod -m 666 ${DEV}/null c 1 3 mknod -m 666 ${DEV}/zero c 1 5 mknod -m 666 ${DEV}/random c 1 8 mknod -m 666 ${DEV}/urandom c 1

Re: [Lxc-users] lxc-stop crashes the host

2011-10-24 Thread Joerg Gollnick
Am Montag, 24. Oktober 2011, 21:16:04 schrieb Daniel Lezcano: > On 10/24/2011 08:59 PM, Daniel Lezcano wrote: > > On 10/24/2011 07:46 PM, Ulli Horlacher wrote: > >> On Mon 2011-10-24 (12:33), Serge E. Hallyn wrote: > http://fex.rus.uni-stuttgart.de/tmp/vms1-crash.png > > It's a pity

Re: [Lxc-users] lxc-stop crashes the host

2011-10-25 Thread Joerg Gollnick
Am Dienstag, 25. Oktober 2011, 08:52:58 schrieb Ulli Horlacher: > On Mon 2011-10-24 (18:56), Ulli Horlacher wrote: > > vms1 is an Ubuntu 10.04 based host system (4 * Xeon 64bit) with: > > > > root@vms1:/lxc# uname -a > > Linux vms1 2.6.38-11-server #50~lucid1-Ubuntu SMP Tue Sep 13 22:10:53 > > UTC

Re: [Lxc-users] lxc-stop crashes the host

2011-10-25 Thread Joerg Gollnick
Am Dienstag, 25. Oktober 2011, 12:36:36 schrieb Ulli Horlacher: > On Tue 2011-10-25 (09:11), Joerg Gollnick wrote: > > Try to modprobe nfnetfilter as early as possible in user space (Ubuntu > > hint add to /etc/modules). > > There is no such module: > > root@vms

Re: [Lxc-users] containers always seem to lock the host's X session

2012-06-15 Thread Joerg Gollnick
Am Samstag, 16. Juni 2012, 00:01:53 schrieb Ramez Hanna: On Fri, Jun 15, 2012 at 5:50 PM, Fajar A. Nugraha wrote: On Fri, Jun 15, 2012 at 7:26 PM, John Maclean wrote: > Hello all, > > I have built lxc from the git hub repo and have been able to create > containers using the stock templates for

Re: [Lxc-users] mknod inside systemd container

2013-04-04 Thread Joerg Gollnick
Am Thu, 04 Apr 2013 10:30:36 -0400 schrieb "Michael H. Warfield" : Hi John, > Hey John, > > On Thu, 2013-04-04 at 09:07 +0100, John wrote: > > On 03/04/13 23:15, Michael H. Warfield wrote: > > > On Wed, 2013-04-03 at 23:03 +0100, John wrote: > > >> On 02/04/13 23:59, Michael H. Warfield wrote: >