mirror of
https://github.com/containers/podman.git
synced 2025-11-30 10:07:33 +08:00
The cgroup.Stat() operation is not atomic, so it's possible that the cgroup is removed during the Stat() call. Catch specific errors that can occur when the cgroup is missing and validate the existence of the cgroup path. If the cgroup is not found, return a more specific error indicating that the container has been removed. Closes: https://github.com/containers/podman/issues/23789 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
4.7 KiB
4.7 KiB