[CRIU] tty error when dumping restored container

Tycho Andersen tycho.andersen at canonical.com
Sun Aug 17 14:59:04 PDT 2014


Hi Cyrill,

On Mon, Aug 18, 2014 at 01:39:27AM +0400, Cyrill Gorcunov wrote:
> On Sun, Aug 17, 2014 at 04:28:47PM -0500, Tycho Andersen wrote:
> > Hi all,
> > 
> > I'm getting:
> > 
> > Error (tty.c:203): tty: Can't obtain ptmx index: Inappropriate ioctl for device
> > 
> > when I try to dump a container that I've restored. Does anyone have
> > any idea what's going on here?
> 
> Hard to say without additional info.

Sure, what information would be useful?

> Have you been using --shell-job or something?

No, although I do have:

lxc.console = none
lxc.tty = 0

> This look like terminal is legacy bsd one which we don't support yet.

Ok. The dump works the first time with the above settings, though; is
criu restoring it to this legacy terminal?

Tycho


More information about the CRIU mailing list