[Lxc-users] lxc-start vs terminal
Ralf Schmitt
ralf at brainbot.com
Tue Jul 6 10:50:06 UTC 2010
Ralf Schmitt <ralf at brainbot.com> writes:
> Hi all,
>
> I'm using lxc-0.7.1 and have problems using my terminal to enter input.
> If I start
> ,----
> | lxc-start -n simple /bin/bash
> `----
>
> I get a command prompt:
>
> ,----
> | simple:/#
> `----
>
> If I now type a single 't' character (without newline), I get:
>
> ,----
> | [local] ~/ # lxc-start -n simple /bin/bash
> | simple:/# zsh: suspended (tty input) lxc-start -n simple /bin/bash
> | [local] ~/ #
> `----
>
git bisect says the following commit broke it for me:
cd453b38b778652cb341062fbf3c38edefc3a478 is the first bad commit
commit cd453b38b778652cb341062fbf3c38edefc3a478
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date: Wed Jun 23 00:44:13 2010 +0200
fix default console to /dev/tty
Fix default console output fall into the current tty.
Otherwise fall to /dev/null if no tty is available.
Fix at the same time, Xorg take 100% cpu.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
starting lxc-start with '-s lxc.console=/dev/null' makes it work for me.
Cheers,
- Ralf
More information about the lxc-users
mailing list