diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-04-29 12:02:00 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-05-03 13:43:59 -0400 |
commit | 7249651329c380f21a9e5f7bef870950b6086eab (patch) | |
tree | 51c758896774199ed2c80d5faaaa4767eaab64c6 /pkg/machine/config.go | |
parent | 159d597cdc301adaf7e125f0870e9fbe0291fcb8 (diff) | |
download | podman-7249651329c380f21a9e5f7bef870950b6086eab.tar.gz podman-7249651329c380f21a9e5f7bef870950b6086eab.tar.bz2 podman-7249651329c380f21a9e5f7bef870950b6086eab.zip |
libpod: unlock containers when removing pod
It solves a race where a container cleanup process launched because of
the container process exiting normally would hang.
It also solves a problem when running as rootless on cgroup v1 since
it is not possible to force pids.max = 1 on conmon to limit spawning
the cleanup process.
Partially copied from https://github.com/containers/podman/pull/13403
Related to: https://github.com/containers/podman/issues/14057
[NO NEW TESTS NEEDED] it doesn't add any new functionality
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/machine/config.go')
0 files changed, 0 insertions, 0 deletions