Bug 1406418

Summary: createrepo not cleaning up temporary files
Product: Red Hat Enterprise Linux 7 Reporter: Jan Blazek <jblazek>
Component: createrepoAssignee: Michal Domonkos <mdomonko>
Status: CLOSED ERRATA QA Contact: Eva Mrakova <emrakova>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: emrakova, james.antill, mattiasr, mdomonko, vmukhame
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: createrepo-0.9.9-27.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1297642 Environment:
Last Closed: 2017-08-01 22:16:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1297642    
Bug Blocks: 1393866    

Comment 5 Karel Srot 2017-07-03 14:15:45 UTC
Copy&Pasting bug description as the original one is private.

Createrepo left uncleared data under /tmp after its running.

[root@localhost tmp]# du -hs createrepo*
310M    createrepoBLrBGG
8.0K    createrepo-p7VGIUt
8.0K    createrepo-piqZxpm
348M    createrepoVF8KlK
[root@localhost tmp]#
[root@localhost tmp]# ll createrepoBLrBGG/garbageid/ -h
total 310M
-rw-r--r--. 1 root root  26M Aug 15 19:29 17d5f1f8c9e3b5a2a5732f7df3d2962be24849508e73a36d9740129a83ba4f6f-other.sqlite
-rw-r--r--. 1 root root 144M Aug 15 19:29 2101bb1b07ad0da2c99672a2a0f5a76031edc2cceb04f617c3411d8b05022864-filelists.sqlite
-rw-r--r--. 1 root root    0 Aug 15 19:29 cachecookie
-rw-r--r--. 1 root root 141M Aug 15 19:29 e806b262efccac7b65455ca6b6fd32c8eb5fad141abd778ad6dbec8ce2685e79-primary.sqlite
drwxr-xr-x. 2 root root 4.0K Aug 15 19:29 packages
-rw-r--r--. 1 root root 3.0K Aug 15 00:03 repomd.xml
[root@localhost tmp]#


It seems that yum also left some files which should have been cleared

Comment 7 Valentina Mukhamedzhanova 2017-07-10 13:08:27 UTC
*** Bug 1439638 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2017-08-01 22:16:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2024