New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Comments
Romain-Geissler-1A
added
the
kind/bug
Categorizes issue or PR as related to a bug.
label
Jul 28, 2023
rhatdan
added a commit
to rhatdan/podman
that referenced
this issue
Jul 30, 2023
Currently the CIDFile is not removed with podman --remote run --rm if the client and server are on different machines. [NO NEW TESTS NEEDED] i There is currently a test for this that does not fail because the client and server are on the same machine. If we run these tests on a MAC or Windows platform, they would start failing. Fixes: containers#19420 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/podman
that referenced
this issue
Jul 30, 2023
Currently the CIDFile is not removed with podman --remote run --rm if the client and server are on different machines. [NO NEW TESTS NEEDED] i There is currently a test for this that does not fail because the client and server are on the same machine. If we run these tests on a MAC or Windows platform, they would start failing. Fixes: containers#19420 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/podman
that referenced
this issue
Jul 31, 2023
Currently the CIDFile is not removed with podman --remote run --rm if the client and server are on different machines. [NO NEW TESTS NEEDED] i There is currently a test for this that does not fail because the client and server are on the same machine. If we run these tests on a MAC or Windows platform, they would start failing. Fixes: containers#19420 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/podman
that referenced
this issue
Jul 31, 2023
Currently the CIDFile is not removed with podman --remote run --rm if the client and server are on different machines. [NO NEW TESTS NEEDED] i There is currently a test for this that does not fail because the client and server are on the same machine. If we run these tests on a MAC or Windows platform, they would start failing. Fixes: containers#19420 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/podman
that referenced
this issue
Jul 31, 2023
Currently the CIDFile is not removed with podman --remote run --rm if the client and server are on different machines. [NO NEW TESTS NEEDED] i There is currently a test for this that does not fail because the client and server are on the same machine. If we run these tests on a MAC or Windows platform, they would start failing. Fixes: containers#19420 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/podman
that referenced
this issue
Jul 31, 2023
Currently the CIDFile is not removed with podman --remote run --rm if the client and server are on different machines. [NO NEW TESTS NEEDED] i There is currently a test for this that does not fail because the client and server are on the same machine. If we run these tests on a MAC or Windows platform, they would start failing. Fixes: containers#19420 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/podman
that referenced
this issue
Aug 1, 2023
Currently the CIDFile is not removed with podman --remote run --rm if the client and server are on different machines. [NO NEW TESTS NEEDED] i There is currently a test for this that does not fail because the client and server are on the same machine. If we run these tests on a MAC or Windows platform, they would start failing. Fixes: containers#19420 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan
added a commit
to rhatdan/podman
that referenced
this issue
Aug 1, 2023
Currently the CIDFile is not removed with podman --remote run --rm if the client and server are on different machines. [NO NEW TESTS NEEDED] i There is currently a test for this that does not fail because the client and server are on the same machine. If we run these tests on a MAC or Windows platform, they would start failing. Fixes: containers#19420 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Nov 1, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: