diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-12-01 13:41:02 +0100 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-12-06 15:39:38 -0500 |
commit | aa9799b81f4d24c965221ca762ab573e5eae75eb (patch) | |
tree | dce2def10ed792f7a372c1f81f481ef2c7571e0b /cni | |
parent | 39318f177965b3fa49cb4343c6a8c224836febd6 (diff) | |
download | podman-aa9799b81f4d24c965221ca762ab573e5eae75eb.tar.gz podman-aa9799b81f4d24c965221ca762ab573e5eae75eb.tar.bz2 podman-aa9799b81f4d24c965221ca762ab573e5eae75eb.zip |
container, cgroup: detect pid termination
If the /proc/$PID/cgroup file doesn't exist, then it is likely the
container was terminated in the meanwhile so report ErrCtrStopped that
is already handled instead of ENOENT.
commit a66f40b4df039e94572fa38c070207a435cfa466 introduced the regression.
Closes: https://github.com/containers/podman/issues/12457
[NO NEW TESTS NEEDED] it solves a race in the CI that is difficult to reproduce.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cni')
0 files changed, 0 insertions, 0 deletions