ubiquity package hook sends too many bugs to grub-installer

Bug #1168126 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Brian Murray

Bug Description

The apport package hook for ubiquity, which is shipped by apport since ubiquity is not installed on most systems, includes the following code:

        if not 'grub-installer: Installation finished. No error reported' in syslog and 'grub-installer:' in syslog:
            collect_grub = True
        ...
        if collect_grub:
            report['SourcePackage'] = 'grub-installer'

The problem is that the installation finished message is translated and if the ubiquity syslog is translated then the source package will be changed to grub-installer. A better choice would be to use a string from grub-installer which is untranslated:

 $ grep -r 'grub-install ran successfully' *
grub-installer: info "grub-install ran successfully"

Tags: raring
tags: added: raring
Changed in apport (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.9.2-0ubuntu8

---------------
apport (2.9.2-0ubuntu8) raring; urgency=low

  * data/package-hooks/source_ubiquity.py: use an untranslated string to
    determine if the grub install was successful (LP: #1168126)
 -- Brian Murray <email address hidden> Thu, 11 Apr 2013 12:51:43 -0700

Changed in apport (Ubuntu):
status: In Progress → 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.