[lxc-users] lxc-console breaks on container reboot if someone is attached to it

Bostjan Skufca bostjan at a2o.si
Fri Mar 6 18:41:21 UTC 2015


On 5 March 2015 at 03:32, Fajar A. Nugraha <list at fajar.net> wrote:

> On Thu, Mar 5, 2015 at 9:21 AM, Bostjan Skufca <bostjan at a2o.si> wrote:
> > Here are the steps to reproduce (lxc 1.0.7), assuming container is
> already
> > running:
>
> > ### Step 3: watch the shutdown messages in console on host:
> > ...(all irrelevant content)...
> > AT LAST:  Rebooting...
> > lxc_container: console.c: lxc_console_cb_tty_master: 672 Input/output
> error
> > - failed to read
> >
> > ### Step 4: try to reconnect console
> > HOST# lxc-console -n CONTAINER -t console
> > lxc_container: commands.c: lxc_cmd_console: 709 console 0 invalid,busy or
> > all consoles busy
>
> Works for me. Try upgrading lxc.
>

Confirming that this works as expected with LXC 1.1.

b.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150306/0c956952/attachment.html>


More information about the lxc-users mailing list