[lxc-devel] [patch 3/3][RFC] implement lxc-cmd and lxc-enter using lxc_cinit daemon

Dietmar Maurer dietmar at proxmox.com
Mon Jan 25 09:23:51 UTC 2010


> For logging the container output, we can create a tty in lxc-start.c,
> map the slave endpoint to /dev/console and proxy the master to the real
> tty.
> That allows to:
>  * solve the problem of the init process which stole the terminal tty,
> letting us in a terminal without the controling tty
>  * we can redirect the master to file, a socket, a fifo, etc ...
>  * we reuse most of the lxc-console code

But this would be by sure an improvement to the current code.

- Dietmar





More information about the lxc-devel mailing list