Hide Forgot
Description of problem: When either creating or re-creating a repo, a temporary directory is created and left on /tmp Version-Release number of selected component (if applicable): createrepo-0.9.9-3.fc15.noarch createrepo-0.9.9-4.fc15.noarch How reproducible: Always Steps to Reproduce: 1. Have an rpm somewhere 2. createrepo 3. Actual results: /tmp/tmpXXXXX is still there after createrepo Expected results: temp files cleaned up Additional info: Reproduced with both -3 and -4 Does not occur with createrepo-0.9.8-5.fc14.noarch # rpm -q createrepo createrepo-0.9.9-4.fc15.noarch # ls createrepo-0.9.9-3.fc15.noarch.rpm createrepo-0.9.9-6.fc16.noarch.rpm # ls /tmp keyring-UXwA3I orbit-root pulse-mUfnXuaIAZTB ssh-fDdPD23352 # createrepo . Spawning worker 0 with 2 pkgs Workers Finished Gathering worker results Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete # ls /tmp keyring-UXwA3I orbit-root pulse-mUfnXuaIAZTB ssh-fDdPD23352 tmpaH4NLw # createrepo . Spawning worker 0 with 2 pkgs Workers Finished Gathering worker results Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete # ls /tmp keyring-UXwA3I pulse-mUfnXuaIAZTB tmpaH4NLw orbit-root ssh-fDdPD23352 tmpFlqZAc #
1. what's the big deal about tmpfiles? This is the 3rd bug I've gotten about them and I don't see the importance, there isn't much of anything in there. 2. I've applied a patch upstream for this.
(In reply to comment #1) > 1. what's the big deal about tmpfiles? This is the 3rd bug I've gotten about > them and I don't see the importance, there isn't much of anything in there. Maybe I'm anal, but IMHO it's nice to cleanup after yourself. In our case we run continuous build, and part of it is createrepo so it accumulates quickly. > 2. I've applied a patch upstream for this. Thanks.