diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-11-24 10:35:07 +0100 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-12-06 15:26:18 -0500 |
commit | 905eabf0bef95d5202483464779680f01a3cc1a1 (patch) | |
tree | b8c34e4c6f15e06132ec589b8abb0d58e75efd24 /pkg/api/handlers/compat/containers_archive.go | |
parent | e3a50e760998cdcda6be6510cfa6f1ca93ba7633 (diff) | |
download | podman-905eabf0bef95d5202483464779680f01a3cc1a1.tar.gz podman-905eabf0bef95d5202483464779680f01a3cc1a1.tar.bz2 podman-905eabf0bef95d5202483464779680f01a3cc1a1.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>
<MH: Fixed cherry-pick conflicts>
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/api/handlers/compat/containers_archive.go')
0 files changed, 0 insertions, 0 deletions