does not need to enable apport

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

Bug Description

As of Precise apport is always running, it just doesn't send all crashes to bugs.launchpad.net, so the distribution upgrade process does not need to start it.

so this:

    def doDistUpgrade(self):
        # check if we want apport running during the upgrade
        if self.config.getWithDefault("Distro","EnableApport", False):
            self.enableApport()

and enableApport in DistUpgradeController.py aren't really necessary.

Related branches

Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → Medium
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Triaged
Revision history for this message
Benjamin Kerensa (bkerensa) wrote :

I have added a MP which removes the Apport Enablement from DistUpgradeController.py in this branch.

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

Well while it is true that the ubuntu-release-upgrader does not need to able apport in the stable release it does somehow need to tell apport to send crash reports again.

In the stable release the following is set in /etc/apport/crashdb.conf:

        'problem_types': ['Bug', 'Package'],

Which won't allow crashes to be reported.

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.