DistUpgradeController calls apport with a source package as an argument

Bug #1098001 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Unassigned

Bug Description

[ Impact ]
Some errors encountered when upgrading from one Ubuntu release to another are not reported because of an improper call to apport.

[ Test Case ]
1) Create a file named /etc/update-manager/release-upgrades.d/auf.cfg with the following contents:
[Aufs]
RWDir=/nonexistent-mntpoint/
2) In a terminal run 'do-release-upgrade -d --sandbox'
3) Observe an "Invalid problem report" dialog box and a message saying that "Package ubuntu-release-upgrader does not exist"

-----
In DistUpgradeController ubuntu-release-upgrader manually calls apport for multiple failure cases using the following:

subprocess.Popen(["apport-bug", "ubuntu-release-upgrader"])

However, ubuntu-release-upgrader is a source package and not a binary package like update-manager was. Because it is a source package it fails an apport check (Package ubuntu-release-upgrader does not exist) and no bug report is created.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote :

Fix committed in revision number 2609.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:0.192.4

---------------
ubuntu-release-upgrader (1:0.192.4) raring; urgency=low

  * Ensure that partial upgrades are fully translated (LP: #1072828) thanks to
    Gabor Kelemen for the initial patch.
  * Remove code enabling apport since it is always running (LP: #1068874)
  * check-new-release-gtk: set the correct translation domain thanks to Gabor
    Kelemen for patch (LP: #1093697)
  * DistUpgradeController.py: call apport-bug with the binary package name not
    the source package name (LP: #1098001)
  * source_ubuntu-release-upgrader.py: set the crash database to Ubuntu to
    allow reporting of bugs even if the package does not seem to be official
    (LP: #1067542)
 -- Brian Murray <email address hidden> Fri, 11 Jan 2013 16:19:26 -0800

Changed in ubuntu-release-upgrader (Ubuntu):
status: Triaged → 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.