diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-04-29 12:02:00 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-04-29 12:58:11 +0200 |
commit | 384c2359b7adf9441e949128d58396872b30fc84 (patch) | |
tree | 604efbb265284bda61530727ec23089272bc8f0d /vendor/github.com/json-iterator/go | |
parent | ab3e072a0c3d321fd12cbd1f6ef8e322c6d9214a (diff) | |
download | podman-384c2359b7adf9441e949128d58396872b30fc84.tar.gz podman-384c2359b7adf9441e949128d58396872b30fc84.tar.bz2 podman-384c2359b7adf9441e949128d58396872b30fc84.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 'vendor/github.com/json-iterator/go')
0 files changed, 0 insertions, 0 deletions