Files
podman/libpod
Valentin Rothberg 1efb9b5e17 fix container cgroup lookup
When running on cgroups v1, `/proc/{PID}/cgroup` has multiple entries,
each pointing potentially to a different cgroup.  Some may be empty,
some may point to parents.

The one we really need is the libpod-specific one, which always is the
longest path.  So instead of looking at the first entry, look at all and
select the longest one.

Fixes: #8397
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-11-20 11:31:12 +01:00
..
2020-11-13 15:40:06 +01:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2020-10-05 15:30:37 -07:00
2020-11-20 11:31:12 +01:00
2019-07-22 15:57:23 -04:00
2020-10-21 13:31:40 -04:00
2020-10-02 15:14:18 -04:00
2020-10-30 05:34:04 -04:00