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

rpm-tmp.XXXXXX files in /var/tmp/ #893

Closed
nuqleo opened this issue Sep 18, 2023 · 2 comments · Fixed by #929
Closed

rpm-tmp.XXXXXX files in /var/tmp/ #893

nuqleo opened this issue Sep 18, 2023 · 2 comments · Fixed by #929
Assignees
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Milestone

Comments

@nuqleo
Copy link

nuqleo commented Sep 18, 2023

dnf5 leaves a lot files rpm-tmp.XXXXXX files in /var/tmp/ after transactions

[root@rawhide ~]# ls -la /var/tmp/rpm-tmp.*
-rw------- 1 root root  150 сен  1 12:33 /var/tmp/rpm-tmp.02NJZ0
-rw------- 1 root root  254 сен 12 17:23 /var/tmp/rpm-tmp.04urC0
-rw------- 1 root root   38 авг 27 12:39 /var/tmp/rpm-tmp.06y9DG
-rw------- 1 root root   48 сен 18 01:18 /var/tmp/rpm-tmp.0JdhCb
-rw------- 1 root root   49 авг 16 13:11 /var/tmp/rpm-tmp.0NmhSA
-rw------- 1 root root  208 авг 18 20:41 /var/tmp/rpm-tmp.0PqgyJ
-rw------- 1 root root   43 авг 28 12:34 /var/tmp/rpm-tmp.0uI3rY
-rw------- 1 root root   59 авг 17 16:45 /var/tmp/rpm-tmp.0xhzH0
-rw------- 1 root root   48 авг 25 16:11 /var/tmp/rpm-tmp.10zQbM
-rw------- 1 root root   78 сен  1 12:33 /var/tmp/rpm-tmp.19e0D7
...
[root@rawhide ~]# rpm -q dnf5
dnf5-5.1.2-1.fc40.x86_64
@j-mracek j-mracek added this to the Fedora 40 milestone Sep 19, 2023
@j-mracek j-mracek added Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Sep 19, 2023
@jrohel jrohel self-assigned this Oct 2, 2023
@jrohel
Copy link
Contributor

jrohel commented Oct 2, 2023

These helper files are created by librpm. And librpm does not delete them if the librpm log mask contains RPMLOG_DEBUG.

@nuqleo
Copy link
Author

nuqleo commented Oct 7, 2023

Fixed in dnf5-5.1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants