We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d0cdb23 + 6d00c3a commit ac8f769Copy full SHA for ac8f769
cmd/containerd-shim-runc-v2/task/service.go
@@ -678,7 +678,8 @@ func (s *service) processExits() {
678
// process.
679
var cps, skipped []containerProcess
680
for _, cp := range s.running[e.Pid] {
681
- if s.pendingExecs[cp.Container] != 0 {
+ _, init := cp.Process.(*process.Init)
682
+ if init && s.pendingExecs[cp.Container] != 0 {
683
// This exit relates to a container for which we have pending execs. In
684
// order to ensure order between execs and the init process for a given
685
// container, skip processing this exit here and let the `handleStarted`
0 commit comments