ubiquity attempts to use x86-specific methods on port architectures.

Bug #628582 reported by Tobin Davis
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Ubiquity is attempting to use x86 specific methods such as grub_default() in ubi-partman, which will not work on platforms that do not use GRUB as a bootloade r (such as ARM or PowerPC). This causes the installer to segfault and crash.

Steps to reproduce:
1. Boot a live image on non-x86
2. Start ubiquity
3. Try and do automatic or manual partitioning.

Original Bug Report:
Binary package hint: ubiquity

Had to run ubiquity manually as there is no icon on the UNE Dove image. Failure occurred when trying to select manual partitioning. Selector for manual vs automatic partitioning comes up before drive selection screen.

Image is from http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-live/20100901/maverick-netbook-armel+dove.img

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: ubiquity 2.3.13 [modified: lib/partman/automatically_partition/question]
ProcVersionSignature: Ubuntu 2.6.32-409.25-dove 2.6.32.15+drm33.5
Uname: Linux 2.6.32-409-dove armv7l
Architecture: armel
Date: Thu Sep 2 02:19:32 2010
ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
InterpreterPath: /usr/bin/python2.6
LiveMediaBuild: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Beta armel+dove (20100901)
ProcCmdline: /usr/bin/python /usr/lib/ubiquity/bin/ubiquity
ProcEnviron: Error: [Errno 13] Permission denied: '/proc/5985/environ'
PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity']
SourcePackage: ubiquity
Title: ubiquity crashed with OSError in _execute_child()
UserGroups:

Revision history for this message
Tobin Davis (gruemaster) wrote :
Tobin Davis (gruemaster)
visibility: private → public
tags: added: iso-testing
Revision history for this message
Tobin Davis (gruemaster) wrote :

Tested again today with ubiquity 2.3.15. Same failure.

Revision history for this message
Michael Casadevall (mcasadevall) wrote :

Tracing through the code, the problem is that ubi-partman is trying to determine the default device to partition to by calling get_grub_default which in turn calls grub_default, which tries to call some of the grub command line utilities; since these are not installed (or available) on an ARM based systme, ubiquity crashes, I suspect this bug also appears on powerpc since grub is also unavailable on that platform.

description: updated
Changed in ubiquity (Ubuntu):
status: New → Confirmed
importance: Undecided → High
importance: High → Undecided
milestone: none → ubuntu-10.10
summary: - ubiquity crashed with OSError in _execute_child()
+ ubiquity attempts to use x86-specific methods on port architectures.
Changed in ubiquity (Ubuntu):
importance: Undecided → High
tags: added: powerpc
Evan (ev)
Changed in ubiquity (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.3.16

---------------
ubiquity (2.3.16) maverick; urgency=low

  [ Mario Limonciello ]
  * Don't show logout option in only-ubiquity mode(s) (LP: #618744)
  * Don't show a minimize option in only-ubiquity mode(s) (LP: #627656)
  * Translate the page_title of the language page when languages are
    swapped.
  * Restore functionality to set the GTK slideshow size based on a
    configuration file that was lost in r4123.1.37.
  * Parse the slideshow size when the GTK frontend first starts to
    prevent the window resizing later.
  * Automatic update of included source packages: grub-installer
    1.55ubuntu1, partman-basicfilesystems 63ubuntu7, partman-efi
    21ubuntu1.

  [ Evan Dandrea ]
  * Do not generate or show the bootloader options if we're on x86, or
    bootloader installation is explicitly disabled (LP: #628582).
  * Add correct URL for the Geonames service.

  [ Colin Watson ]
  * Remove a number of unused or duplicate imports.
 -- Mario Limonciello <email address hidden> Sun, 05 Sep 2010 01:40:01 -0500

Changed in ubiquity (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.