apport not turned on for distribution upgrades

Bug #772913 reported by Brian Murray
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Brian Murray
Natty
Fix Released
High
Brian Murray

Bug Description

Binary package hint: update-manager

apport should be turned on while distribution upgrades are performed so that we can receive higher quality bug reports in the event that update manager crashes. update-manager has the code for this it just isn't enabled and it is using /etc/init.d/apport (which fails to start) instead of service to manage it.

Revision history for this message
Brian Murray (brian-murray) wrote :

Michael - could we get this included with the no zero byte files for bug 772052? This will allow us to get some higher quality bug reports for distribution upgrades if update-manager crashes.

Changed in update-manager (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Changed in update-manager (Ubuntu Natty):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
milestone: none → natty-updates
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted update-manager into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in update-manager (Ubuntu Natty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

During the verification of bug 773022, the upgrade failed and apport didn't triggered. Instead of the I got the dist-upgrader dialog saying that update-manager will now try to recover. Additionally there's nothing in /var/crash/

Marking as verification-failed.

tags: added: verification-failed
removed: verification-needed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

on the other hand: 'status apport' reports that apport is running. So on that point the verification succeeded.

Revision history for this message
Brian Murray (brian-murray) wrote :

I ran a distribution upgrade from Maverick to Natty using update-manager from natty-proposed and observed apport running during the distribution upgrade and it being turned off at the end of the upgrade. So while the upgrade failed when trying to verify bug 773022 I don't think verification of this particular bug report should be marked as failed.

tags: added: verification-needed
removed: verification-failed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I took a different approach to reproduce and modified update-mime to always exit with status 1.
I have verified that the version of update-manager 1:0.150.2 in -proposed fixes the issue.
apport is started during the release upgrade, the directory /var/crash is created if it doesn't exists, and a crash file is created for each crash during the upgrade.
At the end of the upgrade, a report is sent for each crash, assigned to the right package and with the logs from /var/log/dist-upgrade attached.

Marking as verification-done.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
update-manager (1:0.150.2) natty-proposed; urgency=low

  * debian/control:
    - point to "natty" branch
  * DistUpgrade/DistUpgrade.cfg:
    - remove "kde-plasmoid-cwp" early as it will break upgrades
      later (LP: #773022)
  * DistUpgrade/DistUpgradeCache.py:
    - do not fail if not all meta-package can not be upgraded, packages
      like ubuntu-desktop and xubuntu-desktop have implicit conflicts
      LP: #775411

update-manager (1:0.150.1) natty-proposed; urgency=low

  [ Brian Murray ]
  * DistUpgrade/DistUpgradeApport.py:
    - do not report zero size attachments (LP: #772052)
  * DistUpgrade/DistUpgrade.cfg:
    - enable apport for distribution upgrades (LP: #772913)
  * DistUpgrade/DistUpgradeController.py:
    - use service to start apport

  [ Michael Vogt ]
  * DistUpgrade/DistUpgrade.cfg:
    - Remove 'dontzap' from kubuntu-desktops rules (LP: #769680).
      This fixes a upgrade issue when a old package is leftover
 -- Michael Vogt <email address hidden> Mon, 02 May 2011 09:52:35 +0200

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