Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212152 - emerge fetch continues when device is full
Summary: emerge fetch continues when device is full
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 216231
  Show dependency tree
 
Reported: 2008-03-03 03:08 UTC by phrexianreaper
Modified: 2008-04-04 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phrexianreaper 2008-03-03 03:08:43 UTC
When you try to emerge a file when /var/tmp if full, it will continue to try and fetch the program repeatedly, even when there is no more free space.

Reproducible: Always

Steps to Reproduce:
1. fill /var/tmp
2. emerge package
3. profit?

Actual Results:  
Printed an out of space error, then retried to fetch immediatly

Expected Results:  
Something a bit more intelligent, like wait awhile before trying to fetch this same file, or waiting for the space to free up
Comment 1 phrexianreaper 2008-03-03 03:44:51 UTC
Small change: this error occures when /usr/portage is full, not /var/tmp.
Comment 2 Zac Medico gentoo-dev 2008-03-03 03:53:26 UTC
We can compare os.statvfs(distdir).f_bavail to the current download size and bail out if it appears that there's not enough space.
Comment 3 phrexianreaper 2008-03-05 19:49:53 UTC
That would make more sense, along with a proper message to that effect (either displayed or emailed).
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2008-03-20 18:15:09 UTC
This is supposed to be fixed in portage-2.2_pre5 or earlier.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2008-03-20 18:15:55 UTC
This is supposed to be fixed in portage-2.2_pre5 or earlier.