diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-11-24 10:35:07 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-11-24 14:50:12 +0100 |
commit | e648122b2986ea3bdcee33ebaef8731e574e8f54 (patch) | |
tree | 7d7b8b2bd8913a2810a3b6821e8fc4975a931054 /test/e2e/volume_exists_test.go | |
parent | a66f40b4df039e94572fa38c070207a435cfa466 (diff) | |
download | podman-e648122b2986ea3bdcee33ebaef8731e574e8f54.tar.gz podman-e648122b2986ea3bdcee33ebaef8731e574e8f54.tar.bz2 podman-e648122b2986ea3bdcee33ebaef8731e574e8f54.zip |
libpod: improve heuristic to detect cgroup
improve the heuristic to detect the scope that was created for the container.
This is necessary with systemd running as PID 1, since it moves itself
to a different sub-cgroup, thus stats would not account for other
processes in the same container.
Closes: https://github.com/containers/podman/issues/12400
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'test/e2e/volume_exists_test.go')
0 files changed, 0 insertions, 0 deletions