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

[Bug]: Podman loads but does not remove temporary docker-tar#### files from under tmpdir (e.g. /var/tmp/) #17078

Closed
msbrod opened this issue Jan 11, 2023 · 4 comments
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

@msbrod
Copy link

msbrod commented Jan 11, 2023

Issue Description

Podman will load temporary image files under tmpdir (e.g. /var/tmp) but does not remove them. Therefore, the filesystem hosting tmpdir eventually fills up. Seems like a bug since podman is not cleaning up after itself.

Steps to reproduce the issue

Steps to reproduce the issue

  1. Set variable TMPDIR
  2. Load a .tar.gz into storage with podman load --tmpdir= -i
  3. Check /var/tmp directory for files called docker-tar*

Describe the results you received

The filesystem hosting tmpdir eventually fills up. Manual intervention is required to clean the directory. Reference closed issue #5411 and associated fix #5412 (which is really not a fix, just allows for the problem to be moved somewhere else)

Describe the results you expected

Unused temporary images should be removed.

podman info output

podman version 3.2.3
podman-3.2.3-0.11.module+el8.4.0+12050+ef972f71.x86_64

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

No

Additional environment details

Additional environment details

Additional information

Is this issue fixed in an upstream release?

@msbrod msbrod added the kind/bug Categorizes issue or PR as related to a bug. label Jan 11, 2023
@mheon
Copy link
Member

mheon commented Jan 11, 2023

Please try a more recent Podman release, we do not support old releases on Github. If this is a RHEL system you can file a support case to have it addressed.

@mheon mheon closed this as completed Jan 11, 2023
@Austinpayne
Copy link

Please try a more recent Podman release, we do not support old releases on Github. If this is a RHEL system you can file a support case to have it addressed.

@mheon Out of curiosity, can you point to the commit that fixed this? I didn't find mention of it in the release changelogs.

@RaiAnandKr
Copy link

I am seeing the same issue on a newer podman release too

 podman version
Client:       Podman Engine
Version:      4.2.0
API Version:  4.2.0
Go Version:   go1.18.4
Built:        Tue Nov 15 09:00:08 2022
OS/Arch:      linux/amd64

Can we please reopen this issue or should I create a new one?

@rhatdan
Copy link
Member

rhatdan commented Feb 2, 2023

We prefer that you create a new one with all of the info and a reproducer.

@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 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 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.
Projects
None yet
Development

No branches or pull requests

5 participants