[Bug 1011662] [NEW] space requirement for /tmp may be insufficient

Brian Murray brian at ubuntu.com
Mon Jun 11 15:02:56 UTC 2012


Public bug reported:

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),
                           ]:

** Affects: update-manager (Ubuntu)
     Importance: Medium
         Status: New


** Tags: quantal

** Tags added: quantal

** Changed in: update-manager (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1011662

Title:
  space requirement for /tmp may be insufficient

Status in “update-manager” package in Ubuntu:
  New

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),
                             ]:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1011662/+subscriptions




More information about the foundations-bugs mailing list