Skip to content
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: not cleaning tempfiles #3869

Closed
edsantiago opened this issue Aug 21, 2019 · 0 comments · Fixed by #3883
Closed

podman-remote: not cleaning tempfiles #3869

edsantiago opened this issue Aug 21, 2019 · 0 comments · Fixed by #3883
Assignees
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Collaborator

podman-remote (actually the varlink server) is not cleaning up after itself; it leaves a buildTarballXXXX directory and varlink_sendXXXX file in tmpdir:

# mkdir /t/podman-remote-tmp
# TMPDIR=/t/podman-remote-tmp /path/to/podman varlink --timeout=0 &
# ls -l /t/podman-remote-tmp
total 0
# /path/to/podman-remote build -t build_test --format=docker /path/to/some/dir
....
#  ls -l /t/podman-remote-tmp
total 4
drwx------. 2 root root   60 Aug 21 11:16 buildTarball217054436
-rw-------. 1 root root 2048 Aug 21 11:16 varlink_send476368217
@baude baude self-assigned this Aug 25, 2019
baude added a commit to baude/podman that referenced this issue Aug 25, 2019
when performing an image build over a varlink connection, we should
clean up tmp files that are a result of sending the file to the host and
untarring it for the build.

Fixes: containers#3869

Signed-off-by: baude <bbaude@redhat.com>
edsantiago pushed a commit to edsantiago/libpod that referenced this issue Aug 26, 2019
when performing an image build over a varlink connection, we should
clean up tmp files that are a result of sending the file to the host and
untarring it for the build.

Fixes: containers#3869

Signed-off-by: baude <bbaude@redhat.com>
mheon pushed a commit to mheon/libpod that referenced this issue Aug 28, 2019
when performing an image build over a varlink connection, we should
clean up tmp files that are a result of sending the file to the host and
untarring it for the build.

Fixes: containers#3869

Signed-off-by: baude <bbaude@redhat.com>
weirdwiz pushed a commit to weirdwiz/libpod that referenced this issue Sep 5, 2019
when performing an image build over a varlink connection, we should
clean up tmp files that are a result of sending the file to the host and
untarring it for the build.

Fixes: containers#3869

Signed-off-by: baude <bbaude@redhat.com>
@github-actions 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 Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants