[Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

Fajar A. Nugraha list at fajar.net
Thu Nov 1 21:46:19 UTC 2012


On Fri, Nov 2, 2012 at 3:21 AM, Whit Blauvelt <whit at transpect.com> wrote:
> obscured login: root
> Password: init: tty (/dev/tty2) main process (131) terminated with status 1
> init: tty (/dev/tty2) main process ended, respawning
> init: tty (/dev/tty3) main process (133) terminated with status 1
> init: tty (/dev/tty3) main process ended, respawning
> init: tty (/dev/tty4) main process (135) terminated with status 1
> init: tty (/dev/tty4) main process ended, respawning
> init: tty (/dev/tty5) main process (137) terminated with status 1
> init: tty (/dev/tty5) main process ended, respawning
> init: tty (/dev/tty6) main process (139) terminated with status 1
> init: tty (/dev/tty6) main process ended, respawning
>

I use this: lxc.tty = 1. which means, only tty1 is active :)

You could either:
- delete /dev/tty[2-6], or
- use lxc.tty = 6. Haven't test this though.

I prefer the first one. The tty's are used only when use
"lxc-console", and by default it connects to tty1, so IMHO there's no
point in having tty >= 2.

-- 
Fajar




More information about the lxc-users mailing list