diff options
author | Matthew Heon <matthew.heon@pm.me> | 2022-08-31 10:58:06 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2022-09-06 14:52:03 -0400 |
commit | ecfbc6f3247448df8c297dca8c32ce7aea18656a (patch) | |
tree | 8c7aa4ea52ec43f61ca3e7896726b9c7cb57e34a /pkg | |
parent | 7f393811ae3facba161f755c0446c894d1d2fc2a (diff) | |
download | podman-ecfbc6f3247448df8c297dca8c32ce7aea18656a.tar.gz podman-ecfbc6f3247448df8c297dca8c32ce7aea18656a.tar.bz2 podman-ecfbc6f3247448df8c297dca8c32ce7aea18656a.zip |
Inhibit SIGTERM during Conmon startup
If we get a SIGTERM immediately after Conmon starts but before we
record its PID in the database, we end up leaking a Conmon and
associated OCI runtime process. Inhibit shutdown using the logic
we originally wrote to prevent similar issues during container
creation to prevent this problem.
[NO NEW TESTS NEEDED] No real way to test this I can think of.
Fixes #15557
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions