Re: [Lxc-users] failed to rename cgroup ?

2012-03-07 Thread Papp Tamas
On 03/07/2012 09:58 AM, 陈竞 wrote: i want to start lxc-sshd, but get error: localhost lxc # /usr/local/bin/lxc-start -n sshd lxc-start: No such file or directory - failed to rename cgroup /cgroup//lxc/9740-/cgroup//lxc/sshd lxc-start: failed to spawn 'sshd' lxc-start: No such file or

Re: [Lxc-users] failed to rename cgroup ?

2012-03-07 Thread 陈竞
i dont konw how to solve the problem, can you give me some advise? thank you 在 2012年3月7日 下午5:04,Papp Tamas tom...@martos.bme.hu写道: On 03/07/2012 09:58 AM, 陈竞 wrote: i want to start lxc-sshd, but get error: localhost lxc # /usr/local/bin/lxc-start -n sshd lxc-start: No such file or

Re: [Lxc-users] failed to rename cgroup ?

2012-03-07 Thread 陈竞
i got the problem, i need a new kernel ,2.6.37+, while my kernel is 2.6.34 在 2012年3月7日 下午5:32,陈竞 cj.mag...@gmail.com写道: i dont konw how to solve the problem, can you give me some advise? thank you 在 2012年3月7日 下午5:04,Papp Tamas tom...@martos.bme.hu写道: On 03/07/2012 09:58 AM, 陈竞 wrote: i

[Lxc-users] Upgrade distribution

2012-03-07 Thread Miroslav Lednicky
Hello, i have question about LXC in Ubuntu. Is it possible to do upgrade system inside LXC? From 10.04 to 12.04 for example. Did somebody try it? Best regards, Miroslav. -- Miroslav Lednický --

Re: [Lxc-users] failed to rename cgroup ?

2012-03-07 Thread Brian K. White
Are you running vsftpd inside the container? If so, make sure it has these two lines in /etc/vsftpd.conf (in the container not the host) # LXC compatibility # http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg01110.html isolate=NO isolate_network=NO Do the same for all containers.

Re: [Lxc-users] failed to rename cgroup ?

2012-03-07 Thread 陈竞
i'm not running vsftpd in lxc, i just want to run lxc-sshd in cotainer to start a sshd container, it seems that my host kernel is too old for lxc-0.80 在 2012年3月7日 下午5:41,Brian K. White br...@aljex.com写道: Are you running vsftpd inside the container? If so, make sure it has these two lines in

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-07 Thread Mauras Olivier
I can say that it's true now :) I did multiple tests, and i've been induced in erroneous conclusions by having newinstances flag for devpts on the host. You're true you need to remove the devpts entry from the guest to make it work correctly. Thanks again, Olivier On Tue, Mar 6, 2012 at 11:06

[Lxc-users] Can we run Ubuntu template on RHEL6?

2012-03-07 Thread Allen Elliott
HI: I created a template of Ubuntu 10.10, and run it on RHEL6(with kernel 2.6.32). I can't start it until I recompiled the 3.0 kernel. It seems fine most of time, except the connection, I can't connect to the guest OS from the host with ssh, and also can't connect to the guest OS from other

Re: [Lxc-users] how to start sshd service in application container?

2012-03-07 Thread Fajar A. Nugraha
2012/3/7 陈竞 cj.mag...@gmail.com: we know that we can start sshd in system container. You mean the host? However can we start sshd in application container? You mean the guest? Sure. since the application container has virtual network configuration. Just start it like you usually do from

Re: [Lxc-users] Upgrade distribution

2012-03-07 Thread Fajar A. Nugraha
2012/3/7 Miroslav Lednicky miroslav.ledni...@fnusa.cz: Hello,        i have question about LXC in Ubuntu. Is it possible to do upgrade system inside LXC?  From 10.04 to 12.04 for example. If you can upgrade it on a normal installation, then you should be able to do it inside lxc. Did

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-07 Thread Stéphane Graber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/06/2012 11:03 PM, Fajar A. Nugraha wrote: On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting Fajar A. Nugraha (l...@fajar.net): # cat /etc/init/lxc-lo.conf start on startup env container pre-start

Re: [Lxc-users] Upgrade distribution

2012-03-07 Thread Stéphane Graber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/07/2012 04:20 AM, Miroslav Lednicky wrote: Hello, i have question about LXC in Ubuntu. Is it possible to do upgrade system inside LXC? From 10.04 to 12.04 for example. Did somebody try it? Best regards, Miroslav. It's

Re: [Lxc-users] RH and clones 6.2, LXC, SElinux and multiple DEVPTS instances

2012-03-07 Thread Iliyan Stoyanov
I'm glad in the end it worked out for you, I hope this thread helps some other poor soul out there that decided to repeat our mistakes :). Cheers, --ilf On Wed, 2012-03-07 at 13:01 +0100, Mauras Olivier wrote: I can say that it's true now :) I did multiple tests, and i've been induced in

Re: [Lxc-users] Can we run Ubuntu template on RHEL6?

2012-03-07 Thread Allen Elliott
在 2012年3月7日星期三,Mauras Olivier oliver.mau...@gmail.com 写道: On Wed, Mar 7, 2012 at 3:16 PM, Allen Elliott allen303al...@gmail.com wrote: HI: I created a template of Ubuntu 10.10, and run it on RHEL6(with kernel 2.6.32). I can't start it until I recompiled the 3.0 kernel. It seems fine most

Re: [Lxc-users] Can we run Ubuntu template on RHEL6?

2012-03-07 Thread Fajar A. Nugraha
On Thu, Mar 8, 2012 at 9:07 AM, Allen Elliott allen303al...@gmail.com wrote: 在 2012年3月7日星期三,Mauras Olivier oliver.mau...@gmail.com 写道: On Wed, Mar 7, 2012 at 3:16 PM, Allen Elliott allen303al...@gmail.com It seems fine most of time, except the connection, I can't connect to the guest OS from

Re: [Lxc-users] failed to rename cgroup ?

2012-03-07 Thread Fajar A. Nugraha
2012/3/8 陈竞 cj.mag...@gmail.com: i am running gentoo in my host What kernel are you using? Ubuntu precise uses 3.2, which works just fine. Gentoo should have latest stable available as well. -- Fajar -- Virtualization

Re: [Lxc-users] Ubuntu 12.04 linux-container package and init modifications

2012-03-07 Thread Thaddeus Hogan
On 3/7/2012 12:16 PM, Stéphane Graber wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/06/2012 11:03 PM, Fajar A. Nugraha wrote: On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting Fajar A. Nugraha (l...@fajar.net): # cat

Re: [Lxc-users] failed to rename cgroup ?

2012-03-07 Thread 陈竞
2.6.34 old kernel 在 2012年3月8日 上午11:21,Fajar A. Nugraha l...@fajar.net写道: 2012/3/8 陈竞 cj.mag...@gmail.com: i am running gentoo in my host What kernel are you using? Ubuntu precise uses 3.2, which works just fine. Gentoo should have latest stable available as well. -- Fajar --

Re: [Lxc-users] Upgrade distribution

2012-03-07 Thread Papp Tamas
On 03/07/2012 07:18 PM, Stéphane Graber wrote: It's possible but I wouldn't recommend it until 12.04. In my experience upgrading will at least require you to umount /lib/init/fstab and tty[1234] and console in /dev, otherwise udev, mountall and a few others will fail to upgrade. I tried it