[Bug 1399836] Re: RELEASE_UPRADER_NO_APPORT seems to have no effect

Brian Murray brian at ubuntu.com
Mon Mar 9 21:27:14 UTC 2015


Duh, it's because only run_apport checks for that environmental variable
and apport_crash() and apport_pkgfailure() don't.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1399836

Title:
  RELEASE_UPRADER_NO_APPORT seems to have no effect

Status in ubuntu-release-upgrader package in Ubuntu:
  New
Status in ubuntu-release-upgrader source package in Vivid:
  New

Bug description:
  I was trying to test the alternate paths in run_apport of
  DistUpgradeApport.py and was setting RELEASE_UPRADER_NO_APPORT=1 but
  this seemed to have no effect.  I tested this upgrading from utopic to
  vivid and from trusty to utopic.

  I examined os.environ right before the failure I'd created (a divide
  by 0 error in DistUpgradeController.py) and that key existed, so it
  seems like DistUpgradeApport or the call to it is unsetting that
  variable somehow.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1399836/+subscriptions



More information about the foundations-bugs mailing list