update manager should not start a distribution upgrade when tmp is mounted on overflow

Bug #427035 reported by Kai Schroeder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

update-manager hung during a dkms module installation because /tmp was full. that was caused by a full / (root-) directory so that tmp had been mounted on overflow (as here: https://answers.launchpad.net/ubuntu/+question/34535). When I had started the distribution upgrade I made sure there was enough space on /. I did not check /tmp however (which is normally on the same partition as /). update-manager should recognize this situation and not start a distribution upgrade when /tmp is mounted on overflow. this happened during an upgrade from jaunty to karmic.

description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I added a check on free space in /tmp as well now, it will require 5Mb for now (that may change, I'm running tests to see how much the various dkms modules need). It will ensure that the overflow case works (it creates a 1mb /tmp).

Changed in update-manager (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.125.2

---------------
update-manager (1:0.125.2) karmic; urgency=low

  [ Michael Vogt ]
  * DistUpgrade/DistUpgradeCache.py:
    - add check for 5Mb safety buffer in /tmp, this ensures that
      dkms can run and ensure we do not run when /tmp is mounted
      in overflow mode (LP: #427035)
  * data/glade/UpdateManager.ui:
    - remove dialog title for the battery warning and fix button
      order (thanks to Matthew Paul Thomas)
  * data/glade/UpdateManager.ui:
    - fix duplicated accelerator keys (LP: #425817)
  * UpdateManager/UpdateManager.py:
    - close app when ESC is pressed in the battery warning
  * UpdateManager/UpdateManager.py:
    - ensure that the changelog always matches the currently selected
      pkg by fixing race during download (LP: #424918)
  * UpdateManager/backend/InstallBackendAptdaemon.py:
    - do not hang when cancel is clicked (LP: #426718)
  * add sed patch facility and patch the gnome debconf frontend
    before the upgrade starts so that it can not crash when
    perl moves from 5.8.0 to 5.10.0 (LP: #387112)
  * data/glade/UpdateManager.ui:
    - use bigger default width (LP: #418201)

  [ Brian Murray ]
  * typo fixes (thanks to Brian Murray, LP: #423409)

 -- Michael Vogt <email address hidden> Tue, 15 Sep 2009 10:50:24 +0200

Changed in update-manager (Ubuntu):
status: Fix Committed → Fix Released
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.