On Fri, Mar 17, 2017 at 1:56 PM, Cyrill Gorcunov <gorcu...@gmail.com> wrote: > When we restore PTY terminals we do iterate over open() calls to reach > the index used at checkpoint time (say application opened a number of > terminals, then closed all other except last one) which of course very > inconvenient. > > The problem get more notable in scope of controlling terminal represented > by /dev/tty device: current CRIU restore scheme is lazy, we don't open > files immedeately after the forks but rather defer until the whole > process tree is created, then every process opens own files in async > way and in result /dev/tty is not propagated into children because > it is not yet opened. >
Gentlemen, ping?