This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shimv2: fix the error of reaping qemu process mistakenly
For kata shimv2, it doesn't need to reap it's container processes since all of them are running in VM, thus there is no need to set it as a subreaper and also no need to take care of the SIGCHLD singal. So this commit will try to unset the subreaper and ignore the SIGCHLD signal. Since ignoring the SIGCHLD signal will break the containerd shim's events.Publisher publish method, thus here re-write a publish function to publish the events to containerd. Fixes: #939 Signed-off-by: fupan <lifupan@gmail.com>
- Loading branch information
Showing
2 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters