space requirement for /tmp may be insufficient

Bug #1011662 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Triaged
Low
Unassigned

Bug Description

I seem to recall some distribution upgrades failing if /tmp is a separate partition due to a lack of free space in /tmp. Perhaps increasing the fudge factor from 5 would be a good idea.

from DistUpgrade/DistUpgradeCache.py:

        # sum up space requirements
        for (dir, size) in [(archivedir, self.required_download),
                            # plus 50M safety buffer in /usr
                            ("/usr", self.additional_required_space),
                            ("/usr", 50*1024*1024),
                            ("/boot", space_in_boot),*
                            ("/tmp", 5*1024*1024), # /tmp for dkms LP: #427035
                            ("/", 10*1024*1024), # small safety buffer /
                            (aufs_rw_dir, required_for_aufs),
                            # if snapshots are in use
                            ("/usr", required_for_snapshots),
                           ]:

Tags: quantal
tags: added: quantal
Changed in update-manager (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote :

Well, I can't find any specific instances of people not having enough free space in /tmp when searching attachments for update-manager and ubuntu-release-upgrader.

Changed in update-manager (Ubuntu):
importance: Medium → Low
status: New → Triaged
affects: update-manager (Ubuntu) → ubuntu-release-upgrader (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.