[Bug 1303756] Re: make lxc-console work non-confusingly by default on touch images

Stéphane Graber stgraber at stgraber.org
Mon Apr 7 14:10:42 UTC 2014


So to repeat what I've said on IRC.

There seems to be two ways to deal with that, the ideal one I believe
would be to have lxc-console attach to tty0 when the container is
backgrounded and lxc-start isn't itself attached to it, however figuring
this out isn't currently possible from an API client and it'd probably
require a break of both the API and the internal communication protocol
so we can store and query that extra state.

Alternatively, we could have lxc-console attach to tty0 when lxc.tty = 0
which I believe would cover the Ubuntu Touch use case and shouldn't
require any change to the API or internal protocol, it'd just be a
matter of having lxc-console query lxc.tty and attach to 0 if lxc.tty ==
0.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1303756

Title:
  make lxc-console work non-confusingly by default on touch images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1303756/+subscriptions



More information about the Ubuntu-server-bugs mailing list