[Devel] [RFC rh7 v4] ve/tty: vt -- Implement per VE support for console and terminals

Vladimir Davydov vdavydov at parallels.com
Thu Aug 27 05:58:13 PDT 2015


On Mon, Aug 24, 2015 at 02:08:56PM +0300, Cyrill Gorcunov wrote:
> On Mon, Aug 24, 2015 at 01:34:18PM +0300, Vladimir Davydov wrote:
...
> > If a process inside a container closes and then immediately reopens a
> > vtty, it does not expect to get -EIO simply because it is advancing too
> > fast.
> 
> How it that? I mean, application (getty and such) always care about eio
> and such things.

No. If tty_open() returns -EIO mingetty dies:

: /sbin/mingetty[845]: console: cannot open tty: Input/output error

It will be respawned in a moment though, but it is ugly.



More information about the Devel mailing list