Bug 136355 - too many temp files
too many temp files
Product: Fedora
Classification: Fedora
Component: up2date (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Adrian Likins
Depends On:
  Show dependency treegraph
Reported: 2004-10-19 10:08 EDT by Need Real Name
Modified: 2014-01-21 17:50 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-19 08:51:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2004-10-19 10:08:43 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)

Description of problem:
Yum uses stores too many header files in /tmp
It makes trying to find a non-yum temp file more difficult than it
should be.

It would be nicer if yum created a directory under /tmp and stored the
headers there.

 $ ls -1 /tmp/*hdr|wc -l

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Additional info:
Comment 1 Seth Vidal 2004-10-19 10:12:49 EDT
It makes the .hdr files in cachedir/repoid/headers/

I'm not sure where or why you're getting them in /tmp
Comment 2 Seth Vidal 2004-10-19 10:18:23 EDT
I've been told by people who know that you don't mean yum, you mean
Comment 3 Paul Nasrat 2004-10-19 10:45:01 EDT
Root cause - urlretrieve.

We probably want to honour --tmpdir rather than using urllib's temp
file  creation.  Maybe set tempfile.tempdir.

import urllib
(fn, h) =
print fn
Comment 4 Csongor Fagyal 2005-03-15 20:40:50 EST
I have the same problem. Installed FC3 a few days ago, but already
hundreds of .hdr files in /tmp.
Comment 5 Need Real Name 2005-07-01 16:03:42 EDT
Comment 6 Need Real Name 2005-10-14 08:17:33 EDT
Seems fixed to me.

Note You need to log in before you can comment on or make changes to this bug.