[Lxc-users] lxc-start vs terminal

Daniel Lezcano daniel.lezcano at free.fr
Tue Jul 6 12:54:51 UTC 2010


On 07/06/2010 12:50 PM, Ralf Schmitt wrote:
> 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.
>    

I will look at how to fix that properly. Hopefully you found a workaround.
Thanks for reporting.

   -- Daniel






More information about the lxc-users mailing list