[lxc-devel] host consoles/ttys in containers
Michael Tokarev
mjt at tls.msk.ru
Sat Nov 14 12:00:05 UTC 2009
I noticed that container's consoles aren't quite useable
(be it lxc-console or lxc-start with getty bound to /dev/console).
The main problem is a complete lack of window resizing support:
when I resize an xterm window with lxc-start or lxc-console, the
"guest" does not know about that and continues to think that the
terminal is 80x25 still.
Is it just a lack of functionality (missing implementation) or
something problematic?
Another problem is that lxc-start does not restore terminal
settings, at least not always. In particular, after running
`lxc-start -n foo /bin/bash' and killing that bash from a
host system, lxc-start exits but the xterm window where it
was running is now in "raw" tty mode, and can be fixed by
running, say, `stty sane' (note that only `kill -9' works).
Thanks!
/mjt
More information about the lxc-devel
mailing list