diff options
author | Matthew Heon <matthew.heon@pm.me> | 2022-08-31 10:58:06 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-08-31 10:58:06 -0400 |
commit | fed4ce0ea9a9c85b45f5f6733f82051ea3a179db (patch) | |
tree | 3f82d5728025a77765879df73e23f23b31dd68de /pkg/util/utils.go | |
parent | f98215c668746e9a7b9603448428cd1301a56eac (diff) | |
download | podman-fed4ce0ea9a9c85b45f5f6733f82051ea3a179db.tar.gz podman-fed4ce0ea9a9c85b45f5f6733f82051ea3a179db.tar.bz2 podman-fed4ce0ea9a9c85b45f5f6733f82051ea3a179db.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/util/utils.go')
0 files changed, 0 insertions, 0 deletions