containerd/linux/shim
Michael Crosby d513dd2bfd Fix race with task checkpoint
Because runc will delete a container after a successful checkpoint we
need to handle a NotFound error from runc on delete.

There is also a race between SIGKILL'ing the shim and it actually
exiting to unmount the tasks rootfs, we need to loop and wait for the
task to actually be reaped before trying to delete the rootfs+bundle.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-08-10 16:35:03 -04:00
..
v1 Return exit status from Wait of stopped process 2017-08-03 17:22:33 -04:00
client_linux.go Add ShimCgroup path for placing shim in cgroup 2017-07-27 15:25:27 -04:00
client_unix.go Add ShimCgroup path for placing shim in cgroup 2017-07-27 15:25:27 -04:00
client.go Fix race with task checkpoint 2017-08-10 16:35:03 -04:00
exec.go Use a temp socket to receive the console from runc 2017-08-03 10:44:10 -07:00
init.go Fix race with task checkpoint 2017-08-10 16:35:03 -04:00
io.go Close stdin on create if it wasn't requested and there's no terminal 2017-05-16 14:16:47 -07:00
local.go Add create/start to exec processes in shim 2017-08-02 13:50:08 -04:00
process.go Add Get of task and process state 2017-08-02 13:50:08 -04:00
service_linux.go use epoll to manage console i/o in linux 2017-07-30 10:50:39 +01:00
service_unix.go use epoll to manage console i/o in linux 2017-07-30 10:50:39 +01:00
service.go Fix race with task checkpoint 2017-08-10 16:35:03 -04:00