{"action":"created","issue":{"url":"https://api.github.com/repos/xemul/criu/issues/9","labels_url":"https://api.github.com/repos/xemul/criu/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/xemul/criu/issues/9/comments","events_url":"https://api.github.com/repos/xemul/criu/issues/9/events","html_url":"https://github.com/xemul/criu/issues/9","id":97464327,"number":9,"title":"Deleted bind-mount points fail restore","user":{"login":"stlalpha","id":8888156,"avatar_url":"https://avatars.githubusercontent.com/u/8888156?v=3","gravatar_id":"","url":"https://api.github.com/users/stlalpha","html_url":"https://github.com/stlalpha","followers_url":"https://api.github.com/users/stlalpha/followers","following_url":"https://api.github.com/users/stlalpha/following{/other_user}","gists_url":"https://api.github.com/users/stlalpha/gists{/gist_id}","starred_url":"https://api.github.com/users/stlalpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stlalpha/subscriptions","organizations_url":"https://api.github.com/users/stlalpha/orgs","repos_url":"https://api.github.com/users/stlalpha/repos","events_url":"https://api.github.com/users/stlalpha/events{/privacy}","received_events_url":"https://api.github.com/users/stlalpha/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xemul/criu/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2015-07-27T13:31:49Z","updated_at":"2015-08-07T21:52:48Z","closed_at":null,"body":"Checkpoints are now completing successfully after enabling evasive devices for this container - however I am getting the following error on restores (checkpoint and restoring on same host) - any ideas?  Thanks!:\r\n\r\n(00.106760)      1: Found fd 1 (id pipe:[546719]) in inherit fd list (caller inherit_fd_resolve_clash)\r\n(00.106765)      1: Inherit fd 1 moved to 5 to resolve clash\r\n(00.106767)      1:             Going to dup 0 into 1\r\n(00.106770)      1: Found fd 2 (id pipe:[546720]) in inherit fd list (caller inherit_fd_resolve_clash)\r\n(00.106773)      1: Inherit fd 2 moved to 6 to resolve clash\r\n(00.106775)      1:             Going to dup 0 into 2\r\n(00.106782)      1:     Restoring fd 1 (state -> create)\r\n(00.106784)      1:     Restoring fd 2 (state -> create)\r\n(00.106787)      1:     Restoring fd 3 (state -> create)\r\n(00.106789)      1:         Creating pipe pipe_id=0x857e7 id=0x2\r\n(00.106796)      1: Restoring size 0x10000 for 0x857e7\r\n(00.106803)      1:         Wait fdinfo pid=1 fd=4\r\n(00.106806)      1:         Send fd 7 to /crtools-fd-1-4\r\n(00.106823)      1:         Create fd for 3\r\n(00.106827)      1:     Restoring fd 4 (state -> create)\r\n(00.106829)      1:         Creating pipe pipe_id=0x857e7 id=0x3\r\n(00.106832)      1:     Waiting fd for 4\r\n(00.106842)      1:         Create fd for 4\r\n(00.106846)      1:     Restoring fd 5 (state -> create)\r\n(00.106853)      1: fsnotify:     Restore 1 wd for 0x00000000\r\n(00.106856)      1: fsnotify: Opening fhandle 2e:41...\r\n(00.106871)      1: Path `/' resolved to `./' mountpoint\r\n(00.106971)      1: Error (fsnotify.c:131): fsnotify: Can't open file handle for 0x0000002e:0x000000000000000e: Stale file handle\r\n(00.114893) Error (cr-restore.c:1234): 28246 exited, status=1\r\n(00.115123) Error (cr-restore.c:1927): Restoring FAILED."},"comment":{"url":"https://api.github.com/repos/xemul/criu/issues/comments/128841101","html_url":"https://github.com/xemul/criu/issues/9#issuecomment-128841101","issue_url":"https://api.github.com/repos/xemul/criu/issues/9","id":128841101,"user":{"login":"SaiedKazemi","id":8883502,"avatar_url":"https://avatars.githubusercontent.com/u/8883502?v=3","gravatar_id":"","url":"https://api.github.com/users/SaiedKazemi","html_url":"https://github.com/SaiedKazemi","followers_url":"https://api.github.com/users/SaiedKazemi/followers","following_url":"https://api.github.com/users/SaiedKazemi/following{/other_user}","gists_url":"https://api.github.com/users/SaiedKazemi/gists{/gist_id}","starred_url":"https://api.github.com/users/SaiedKazemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaiedKazemi/subscriptions","organizations_url":"https://api.github.com/users/SaiedKazemi/orgs","repos_url":"https://api.github.com/users/SaiedKazemi/repos","events_url":"https://api.github.com/users/SaiedKazemi/events{/privacy}","received_events_url":"https://api.github.com/users/SaiedKazemi/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T21:52:48Z","updated_at":"2015-08-07T21:52:48Z","body":"You're right, it must be /sbin/init.  We can easily reproduce it manually:\r\n\r\n[Terminal A] $ docker run -it ubuntu:latest bash -i\r\n[Terminal B] $ sudo grep deleted /proc/5274/mountinfo\r\n$ \r\n[Terminal A] # rm /dev/null\r\n[Terminal B] $ sudo grep deleted /proc/5274/mountinfo\r\n99 155 0:61 /null//deleted /proc/kcore rw,nosuid - tmpfs tmpfs rw,mode=755\r\n100 155 0:61 /null//deleted /proc/timer_stats rw,nosuid - tmpfs tmpfs rw,mode=755\r\n\r\nNotice we cannot remove hosts (or hostname):\r\n\r\n[Terminal A] # # rm /etc/hosts\r\nrm: cannot remove '/etc/hosts': Device or resource busy\r\n"}}