ubiquity does not work with kernels that have swapping disabled

Bug #651886 reported by Oliver Grawert on 2010-09-30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Kees Cook

Bug Description

Binary package hint: ubiquity

/usr/share/ubiquity/plugininstall.py looks for /proc/swap and fails if a user uses a custom kernel that has no swapping enabled (i.e. on some custom arm bioards people use such a setup, which is admittedly a corner case but can happen)

the function should properly return None if /proc/swap does not exist.

Oliver Grawert (ogra) on 2010-09-30
Changed in ubiquity (Ubuntu):
importance: Undecided → Low
Gilles Grandou (gilles-grandou) wrote :

Here is a patch I've made to ubiquity to fix this bug

Gary M (garym) on 2010-09-30
tags: added: patch
Kees Cook (kees) on 2011-03-10
Changed in ubiquity (Ubuntu):
assignee: nobody → Kees Cook (kees)
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.5.25

ubiquity (2.5.25) natty; urgency=low

  [ Mario Limonciello ]
  * Install oem-config-debconf properly. (LP: #732576)
  * Don't trigger oem-config-debconf on dbus.

  [ Kees Cook ]
  * scripts/plugininstall.py: do not explode if /proc/swaps is missing,
    thanks to Gilles Grandou (LP: #651886).
 -- Kees Cook <email address hidden> Thu, 10 Mar 2011 14:37:48 -0800

Changed in ubiquity (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers