{"action":"created","issue":{"url":"https://api.github.com/repos/xemul/criu/issues/104","labels_url":"https://api.github.com/repos/xemul/criu/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/xemul/criu/issues/104/comments","events_url":"https://api.github.com/repos/xemul/criu/issues/104/events","html_url":"https://github.com/xemul/criu/issues/104","id":125516989,"number":104,"title":"C/R with fifo as container's STDIO","user":{"login":"crosbymichael","id":749551,"avatar_url":"https://avatars.githubusercontent.com/u/749551?v=3","gravatar_id":"","url":"https://api.github.com/users/crosbymichael","html_url":"https://github.com/crosbymichael","followers_url":"https://api.github.com/users/crosbymichael/followers","following_url":"https://api.github.com/users/crosbymichael/following{/other_user}","gists_url":"https://api.github.com/users/crosbymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/crosbymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosbymichael/subscriptions","organizations_url":"https://api.github.com/users/crosbymichael/orgs","repos_url":"https://api.github.com/users/crosbymichael/repos","events_url":"https://api.github.com/users/crosbymichael/events{/privacy}","received_events_url":"https://api.github.com/users/crosbymichael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-08T00:38:27Z","updated_at":"2016-01-13T18:43:43Z","closed_at":null,"body":"I'm having trouble checkpointing and restoring containers when the container's STDIO is made of fifo's instead of regular pipes.  Is this supported or do I have to include extra information in the checkpoint command?\r\n\r\nI'm on criu 1.5.2\r\n\r\nSome logs of the error:\r\n\r\n```\r\n(00.004500) Dumping opened files (pid: 23314)\r\n(00.004501) ----------------------------------------\r\n(00.004505) Sent msg to daemon 14 0 0\r\npie: __fetched msg: 14 0 0\r\npie: __sent ack msg: 14 14 0\r\npie: Daemon wais for command\r\n(00.004519) Wait for ack 14 on daemon socket\r\n(00.004521) Fetched ack: 14 14 0\r\n(00.004545) 23314 fdinfo 0: pos: 0x               0 flags:           100002/0\r\n(00.004557) Error (files-reg.c:811): Unable to look up the 25 mount\r\n(00.004591) ----------------------------------------\r\n(00.004592) Error (cr-dump.c:1616): Dump files (pid: 23314) failed with -1\r\n(00.004648) Waiting for 23314 to trap\r\n(00.004655) Daemon 23314 exited trapping\r\n(00.004658) Sent msg to daemon 6 0 0\r\npie: __fetched msg: 6 0 0\r\npie: 1: new_sp=0x7fbe6fdeb008 ip 0x7fbe6f8f8118\r\n(00.004714) 23314 was trapped\r\n(00.004716) `- Expecting exit\r\n(00.004724) 23314 was trapped\r\n(00.004725) 23314 is going to execute the syscall f\r\n(00.004733) 23314 was stopped\r\n(00.004743) 23314 was trapped\r\n(00.004744) 23314 is going to execute the syscall 1\r\n(00.004751) 23314 was trapped\r\n(00.004752) `- Expecting exit\r\n(00.004759) 23314 was trapped\r\n(00.004760) 23314 is going to execute the syscall b\r\n(00.004774) 23314 was stopped\r\n(00.005004) Unlock network\r\n(00.005006) Unfreezing tasks into 1\r\n(00.005007)     Unseizing 23314 into 1\r\n(00.005011)     Unseizing 23319 into 1\r\n(00.005036) Error (cr-dump.c:1979): Dumping FAILED.\r\n\r\n\r\nroot@deathstar:/containers/redis# ls -l /proc/23314/fd\r\ntotal 0\r\nlrwx------ 1 michael michael 64 Jan  7 16:52 0 -> /containers/redis/stdin\r\nlrwx------ 1 michael michael 64 Jan  7 16:52 1 -> /containers/redis/stdout\r\nlrwx------ 1 michael michael 64 Jan  7 16:52 2 -> /containers/redis/stderr\r\n```"},"comment":{"url":"https://api.github.com/repos/xemul/criu/issues/comments/171393891","html_url":"https://github.com/xemul/criu/issues/104#issuecomment-171393891","issue_url":"https://api.github.com/repos/xemul/criu/issues/104","id":171393891,"user":{"login":"xemul","id":4498177,"avatar_url":"https://avatars.githubusercontent.com/u/4498177?v=3","gravatar_id":"","url":"https://api.github.com/users/xemul","html_url":"https://github.com/xemul","followers_url":"https://api.github.com/users/xemul/followers","following_url":"https://api.github.com/users/xemul/following{/other_user}","gists_url":"https://api.github.com/users/xemul/gists{/gist_id}","starred_url":"https://api.github.com/users/xemul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xemul/subscriptions","organizations_url":"https://api.github.com/users/xemul/orgs","repos_url":"https://api.github.com/users/xemul/repos","events_url":"https://api.github.com/users/xemul/events{/privacy}","received_events_url":"https://api.github.com/users/xemul/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T18:43:43Z","updated_at":"2016-01-13T18:43:43Z","body":"OK, I see. So the external tty-s should be handled with the respective options. For pipes only for restore, for ttys and fifos @avagin is currently in process of implementing it. He will provide the exact options once things get merged."}}