--pid host causes podman stop to print oci runtime errors when the container is already stopped #18460
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
Podman stop prints error on stderr when it shouldn't, it looks like we try to call the oci runtime every time.
Steps to reproduce the issue
Steps to reproduce the issue
podman run --pid host alpine true
podman stop --all
Repeat to call podman stop, you will see message every time.
Describe the results you received
An extra error message from crun on stderr, exit code is still 0
with runc
Describe the results you expected
no error message
podman info output
latest @main
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Found in #18442 which shows how important such checks are.
The text was updated successfully, but these errors were encountered: