[Lxc-users] lxc console and control-c

Stuart Yoder b08248 at gmail.com
Tue Jul 24 18:22:11 UTC 2012


On Mon, Jul 23, 2012 at 2:36 AM, Daniel Lezcano <daniel.lezcano at free.fr> wrote:
> On 07/20/2012 07:14 PM, Stuart Yoder wrote:
>> On Fri, Jul 20, 2012 at 11:53 AM, Stuart Yoder <b08248 at gmail.com> wrote:
>>> After I start a container with lxc-start (no -d), ctrl-C doesn''t
>>> working for me in the container's console.
>>>
>>> In the documentation at http://lxc.teegra.net/ it says:
>>>
>>>     The terminal you start a container in will often lose control-C
>>> (you can restore that)...
>>>
>>> How do you restore control-C functionality to the terminal?
>>>
>>> When I connect to the console using lxc-console then control-C does
>>> work...however,
>>> perhaps a separate issue is that <Ctrl+a q> is not workint to exit the
>>> console.   Any
>>> ideas on that?
>> Figured out this second issue...the screen command (which I forgot was
>> running) was grabbing the Ctrl+a.
>>
>> The first issue is still there-- Ctrl+c is not working after an lxc-start in
>> non daemon mode.
>
> The console works for me. What is the distro you are running inside the
> container ?

This is an embedded system based on Yocto.

As I mentioned things work fine if I use lxc-console, but  Ctrl+c s not working
if I use lxc-start without -d.

Thanks,
Stuart




More information about the lxc-users mailing list