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

Clean tmp files after tasks are done #1141

Open
hstct opened this issue Aug 26, 2024 · 0 comments · May be fixed by #1142
Open

Clean tmp files after tasks are done #1141

hstct opened this issue Aug 26, 2024 · 0 comments · May be fixed by #1142

Comments

@hstct
Copy link
Contributor

hstct commented Aug 26, 2024

Describe the bug
pulp_deb creates a lots of tmp files in /tmp/ which are results of signing service data, i.e. Release.gpg, InRelease and tmp files which represent archives. They are not cleaned up properly even though it's used in context.

To Reproduce
Publish anything with a signing service and check /tmp/ there are multiple dirs and files still there like this:

[root@a090ae583dd2 /]# ls /tmp/tmp.*
tmp.MwDk6o1WR9:
InRelease  Release.gpg

tmp.WFuoBxtKJo:
InRelease  Release.gpg

Expected behavior
The temp files do be gone after tasks are complete.

hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Aug 26, 2024
@hstct hstct linked a pull request Aug 26, 2024 that will close this issue
hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Aug 26, 2024
hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Aug 28, 2024
hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Sep 19, 2024
hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Sep 19, 2024
hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Sep 19, 2024
hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Oct 22, 2024
- Add output path for signing service to control tmp file location.
- Ensure proper cleanup of uncompressed files in synchronization tasks.
- Modify functional tests to pass output directory for signing.

closes pulp#1141
hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Oct 22, 2024
- Add output path for signing service to control tmp file location.
- Ensure proper cleanup of uncompressed files in synchronization tasks.
- Modify functional tests to pass output directory for signing.

closes pulp#1141
hstct added a commit to ATIX-AG/pulp_deb that referenced this issue Oct 23, 2024
- Add temp dir to env variables for signing service.
- Ensure proper cleanup of uncompressed files in synchronization tasks.

closes pulp#1141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant