Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/1.5] runc.v1/v2: return init pid when clean dead shim #6570

Merged
merged 1 commit into from Feb 21, 2022

Commits on Feb 20, 2022

  1. runc.v1/v2: return init pid when clean dead shim

    If containerd-shim-runc-v1/v2 process dead abnormally, such as received
    kill 9 signal, panic or other unkown reasons, the containerd-shim-runc-v1/v2
    server can not reap runc container and forward init process exit event.
    This will lead the container leaked in dockerd. When shim dead, containerd
    will clean dead shim, here read init process pid and forward exit event
    with pid at the same time.
    
    Signed-off-by: Jeff Zvier <zvier20@gmail.com>
    Signed-off-by: Wei Fu <fuweid89@gmail.com>
    fuweid committed Feb 20, 2022
    Copy the full SHA
    6f45108 View commit details
    Browse the repository at this point in the history