[Lxc-users] LXC bringup issue on Fedora

atp Andrew.Phillips at lmax.com
Thu Jun 3 08:27:24 UTC 2010


Nirmal,

To do this you'll also need to make sure you have a getty listening
on /dev/console in the container.

If you use upstart then make sure theres a file in the
containers /etc/event.d/ that holds something like;

# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc2
start on stopped rc3
start on stopped rc4

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/mingetty console

Andy

> It may not be hung.
> 
> Can you relaunch the container with the '-s lxc.console=$(tty)" option ?
> And after that check with 'lxc-ps --lxc' if there are processes running 
> within your container.
> 
> If this is the case, try to use the lxc-console to log to the container.


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.




More information about the lxc-users mailing list