[lxc-users] Issue to fix

Stéphane Graber stgraber at ubuntu.com
Thu May 1 19:02:35 UTC 2014


On Thu, May 01, 2014 at 02:47:20PM -0400, Michael H. Warfield wrote:
> On Thu, 2014-05-01 at 14:08 -0400, CDR wrote:
> > Great!,but you did not mention how do we change the key combination.
> 
> The way Stéphane phrased it gave me the impression that he was referring
> to changing the key combination in screen.  That's the -e option when
> running screen.

Nope, it can also be changed with lxc-console, passing -e (same argument
as screen).

> 
> Regards,
> Mike
> 
> > On Thu, May 1, 2014 at 2:04 PM, Stéphane Graber <stgraber at ubuntu.com> wrote:
> > > On Thu, May 01, 2014 at 01:56:40PM -0400, CDR wrote:
> > >> If some4body is working on the new release, please consider this problem.
> > >> Sometimes we need to start a container like this
> > >> lxc-start -n container, not as daemon, to see error messages
> > >> if we do that, then there is no way to get out, i.e., Ctrl-A-q does not work.
> > >> There should be a way to go back the parent OS.
> > >
> > > That's simply not possible. When you don't pass -d the container is
> > > directly attached to the parent console, we can't detach it from it.
> > >
> > > You may however be able to get something similar by passing -L to
> > > lxc-start or by attaching to tty0 with lxc-console -n container -t 0
> > >
> > >>
> > >> Also, if by any chance your container has an application running under
> > >> screen, and you access it via screen -x, there is no way out either of
> > >> screen, because Ctrl-A is used by the container's console.
> > >>
> > >> We should use key combinations identical to libvirt, Ctrl-], which is unique.
> > >
> > > The hotkey is configurable so you can easy change it to something which
> > > doesn't conflict with whatever software you are running.
> > >
> > > --
> > > Stéphane Graber
> > > Ubuntu developer
> > > http://www.ubuntu.com
> > >
> > > _______________________________________________
> > > lxc-users mailing list
> > > lxc-users at lists.linuxcontainers.org
> > > http://lists.linuxcontainers.org/listinfo/lxc-users
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> 
> -- 
> Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
>    /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
>    NIC whois: MHW9          | An optimist believes we live in the best of all
>  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
> 



> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140501/e4d9ca6f/attachment.sig>


More information about the lxc-users mailing list