Fix exec race condition#2970
Conversation
This reverts commit bbc2a99. Signed-off-by: Lantao Liu <[email protected]>
|
We should cherry-pick this into 1.2 and cut a 1.2.3 release soon. I think this is a very serious issue, which will affect both docker users and kubernetes users. |
|
This is having some build and lint issues: |
Signed-off-by: Lantao Liu <[email protected]>
473ae35 to
952d582
Compare
|
@ehazlett Sorry, fixed. |
Codecov Report
@@ Coverage Diff @@
## master #2970 +/- ##
=========================================
+ Coverage 43.98% 44% +0.02%
=========================================
Files 102 102
Lines 10873 10873
=========================================
+ Hits 4782 4785 +3
+ Misses 5358 5356 -2
+ Partials 733 732 -1
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #2970 +/- ##
=========================================
+ Coverage 43.98% 44% +0.02%
=========================================
Files 102 102
Lines 10873 10873
=========================================
+ Hits 4782 4785 +3
+ Misses 5358 5356 -2
+ Partials 733 732 -1
Continue to review full report at Codecov.
|
|
LGTM |
| // In that case, we want to block the signal handler to | ||
| // access e.pid until it is updated. | ||
| e.pid.Lock() | ||
| defer e.pid.Unlock() |
There was a problem hiding this comment.
Check if the context is cancelled here?
|
LGTM |
|
Lets do the cherry pick and do a release next week, maybe Wednesday? @dmcgowan ?? |
|
Sorry, I’m not at office today. Can you do a cherrypick for me? Thanks!
…On Fri, Feb 1, 2019 at 1:09 PM Michael Crosby ***@***.***> wrote:
Lets do the cherry pick and do a release next week, maybe Wednesday?
@dmcgowan <https://github.com/dmcgowan> ??
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2970 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFjVu1gkoB1q5U36cGte_eZ4wgIHWpQdks5vJKz1gaJpZM4aeBOH>
.
|
|
Yup, i'll cherry pick right now |
Fixes #2969.
No one likes nested locks. :( I know.
I'm happy to change the fix if people come up with better ideas.
/cc @containerd/containerd-maintainers @containerd/containerd-reviewers