Nirmal,

  From a quick look I'd suggest you investigate your lxc.tty setting.
You've allowed a single tty for your container. Its likely that your
container is starting gettys for more than one tty. They're dying
immediately, hence the respawning too fast.

  Either reduce the number of ttys, or increase the lxc.tty setting
(and make the dev special files in the container /dev)

  Andy
On Wed, 2010-06-02 at 00:20 -0700, Nirmal Guhan wrote:
> Hi,
> 
> Am trying to get lenny (latest debian from
> http://ftp.us.debian.org/debian) run as a container on Fedora12 with
> 2.6.32.13 kernel and running into below error :
> 
> lxc-start -n lennycont
> SELinux:  Could not open policy file
> <= /etc/selinux/targeted/policy/policy.24:  No such file or directory
> INIT: version 2.86 booting
> INIT: Entering runlevel: 2
> Starting enhanced syslogd: rsyslogd.
> Starting periodic command scheduler: crond.
> 
> INIT: Id "4" respawning too fast: disabled for 5 minutes
> INIT: Id "2" respawning too fast: disabled for 5 minutes
> INIT: Id "T1" respawning too fast: disabled for 5 minutes
> INIT: Id "1" respawning too fast: disabled for 5 minutes
> INIT: Id "5" respawning too fast: disabled for 5 minutes
> INIT: Id "3" respawning too fast: disabled for 5 minutes
> INIT: Id "T0" respawning too fast: disabled for 5 minutes
> INIT: Id "6" respawning too fast: disabled for 5 minutes
> INIT: no more processes left in this runlevel
> 
> My config file is as below :
> 
> lxc.utsname = lennycont
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br0
> lxc.network.ipv4 = 128.107.159.180/22
> lxc.network.name = eth0
> lxc.rootfs = /lxc/lenny-chroot
> lxc.mount = /lxc/lenny.fstab
> lxc.tty = 1
> 
> fstab :
> none /lxc/lenny-chroot/dev/pts devpts defaults 0 0
> none /lxc/lenny-chroot/proc    proc   defaults 0 0
> none /lxc/lenny-chroot/sys     sysfs  defaults 0 0
> none /lxc/lenny-chroot/dev/shm tmpfs  defaults 0 0
> 
> I googled and found some solutions but none of them worked for
> me :-( Could you please help?
> 
> Thanks,
> Nirmal
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
Andrew Phillips
Head of Systems

www.lmax.com 

Office: +44 203 1922509
Mobile: +44 (0)7595 242 900

LMAX | Level 2, Yellow Building | 1 Nicholas Road | London | W11 4AN




The information in this e-mail and any attachment is confidential and is 
intended only for the named recipient(s). The e-mail may not be disclosed or 
used by any person other than the addressee, nor may it be copied in any way. 
If you are not a named recipient please notify the sender immediately and 
delete any copies of this message. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden. Any view or 
opinions presented are solely those of the author and do not necessarily 
represent those of the company.

------------------------------------------------------------------------------

_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to