podman remote doesn't delete cidfile #19420
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 remote doesn't delete the cidfile (which lies on the client filesystem) when the container exits, while non remote podman does. Also, kind of linked, podman rm will always attempt to delete the cidfile on the server side, while it was initially created on the client side.
Steps to reproduce the issue
Steps to reproduce the issue
podman rm
when run as a client tries to delete the cidfile in the wrong machine: it tries to delete it on server side while it should be deleted on client side:I guess that if really you want to fix this, then podman remote will have to fork/exec into the background and not exit until the container actually stops. From past discussion we already had, I actually doubt you want to do this for real, but this is how docker works.
Describe the results you received
The cidfile is removed on the server side (effectively leaking it on client side).
Describe the results you expected
The cidfile should be removed on client side.
podman info output
Not needed as tested from the upstream podman image.
Podman in a container
Yes
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: