[CRIU] tty: Standard stream is not a terminal, aborting

Cyrill Gorcunov gorcunov at gmail.com
Thu Aug 25 02:57:01 PDT 2016


On Thu, Aug 25, 2016 at 10:48:21AM +0200, Manuel Rodríguez Pascual wrote:
> Hi,
> 
> These are the results of running "ls -l /proc/self/fd".
> 
> - From local user "supermanue", local machine.
> [supermanue at tecno15 tests]$ ls -l /proc/self/fd
> total 0
> lrwx------ 1 supermanue supermanue 64 ago 25 10:37 0 -> /dev/pts/5
> lrwx------ 1 supermanue supermanue 64 ago 25 10:37 1 -> /dev/pts/5
> lrwx------ 1 supermanue supermanue 64 ago 25 10:37 2 -> /dev/pts/5
> lr-x------ 1 supermanue supermanue 64 ago 25 10:37 3 -> /proc/6347/fd
> 
> 
> -SSH command on the same machine as root
> [supermanue at tecno15 tests]$ ssh root at tecno15 'ls -l /proc/self/fd'
> total 0
> lr-x------ 1 root root 64 ago 25 10:37 0 -> pipe:[3195333]
> l-wx------ 1 root root 64 ago 25 10:37 1 -> pipe:[3195334]
> l-wx------ 1 root root 64 ago 25 10:37 2 -> pipe:[3195335]
> lr-x------ 1 root root 64 ago 25 10:37 3 -> /proc/6551/fd
> 
> 
> -Inside "criu_restore" script, just before calling "criu restore" (which fails):
> total 0
> lr-x------ 1 supermanue supermanue 64 ago 25 10:36 0 -> /dev/null
> l-wx------ 1 supermanue supermanue 64 ago 25 10:36 1 ->
> /home/supermanue/Downloads/tests/slurm-66.out
> l-wx------ 1 supermanue supermanue 64 ago 25 10:36 2 ->
> /home/supermanue/Downloads/tests/slurm-66.out
> lr-x------ 1 supermanue supermanue 64 ago 25 10:36 3 -> /proc/6198/fd
> 
> 
> Also, just in case it helps, please find below the output from the
> "criu restore -vvvv  --shell-job <rest of params>". The script
> containing it (criu_restore.sh) has been executed on two ways: with
> the ssh script (fails) and manually in a local execution (succeeds).
> It may help to determine the problem.
> 

Hi Manuel! So as expected the descriptors are pointing to pipe
entries and null device. Currently we dont support such configuration.
Gimme sometime, I'll try to come with idea today evening.


More information about the CRIU mailing list