Bug 136355 - too many temp files
too many temp files
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: up2date (Show other bugs)
3
All Linux
medium Severity low
: ---
: ---
Assigned To: Adrian Likins
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2005-10-19 08:51:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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)
Gecko/20040929

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
969


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


How reproducible:
Always

Steps to Reproduce:
x

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
up2date.
Reassigning.
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) =
urllib.urlretrieve("http://porkchop.redhat.com/nightly/rawhide-latest/i386/headers/4Suite-0-1.0-3.i386.hdr")
print fn
'/tmp/tmp5p7cw9.hdr'
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
Obsolete?
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.