podman/pkg
Paul Holzinger 55749af0c7
podman stats: fix race when ctr process exists
stats read from the cgroup, and in order to know the cgroup we check the
pid for the cgroup. However there is a window where the pid exited and
podman did not yet updated its internal state. In this case the code
returns ErrCtrStopped so we should ignore this error as well.

Fixes #23334

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-07-19 13:21:34 +02:00
..
annotations Removing CRI-O related annotations 2024-03-12 14:56:06 +01:00
api Merge pull request #23258 from Luap99/start-error 2024-07-15 12:11:56 +00:00
auth Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
autoupdate podman auto-update: fix ErrNoSuchCtr race 2024-07-18 10:52:12 +02:00
bindings CI: use local registry, part 2 of 3: fix tests 2024-07-11 04:39:45 -06:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint restore: fix container restore into pod 2024-06-20 13:24:53 +01:00
copy Bump Go module to v5 2024-02-08 09:35:39 -05:00
criu chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ctime chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
domain podman stats: fix race when ctr process exists 2024-07-19 13:21:34 +02:00
emulation chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
env pkg/env.Join(): don't modify passed-in maps 2024-02-29 11:47:44 -05:00
errorhandling Fix typos 2023-02-11 18:23:24 +01:00
farm Fix name for builder in farm connection 2024-07-17 22:31:48 -04:00
fileserver Bump Go module to v5 2024-02-08 09:35:39 -05:00
inspect Bump Go module to v5 2024-02-08 09:35:39 -05:00
k8s.io Bump Go module to v5 2024-02-08 09:35:39 -05:00
lookup Cease using deprecated runc userlookup 2024-02-02 11:02:43 -05:00
machine pkg/machine/compression: skip decompress bar for empty file 2024-07-18 13:23:00 +02:00
namespaces Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
parallel Bump Go module to v5 2024-02-08 09:35:39 -05:00
ps podman ps: fix racy pod name query 2024-07-18 17:34:26 +02:00
rctl Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
rootless pkg/rootless: simplify reexec for container code 2024-07-08 13:28:31 +02:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux
signal refacto: unknown signal return signal number without prefix 2024-02-28 19:45:03 +01:00
specgen specgen: parse devices even with privileged set 2024-07-01 11:46:34 +02:00
specgenutil podman run use pod userns even with --pod-id-file 2024-06-24 17:18:08 +02:00
specgenutilexternal Quadlet container mount - support non key=val options 2023-09-27 16:20:00 +03:00
systemd Expand drop-in search paths 2024-07-17 17:43:02 -04:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
timetype Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
trust pkg/trust: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
util specgen: parse devices even with privileged set 2024-07-01 11:46:34 +02:00