[Bug 1778697] Re: update-notifier always present apport-gtk UI on crashes, even on autoreport mode

Launchpad Bug Tracker 1778697 at bugs.launchpad.net
Wed Jun 27 09:34:52 UTC 2018


This bug was fixed in the package update-notifier - 3.192.6

---------------
update-notifier (3.192.6) cosmic; urgency=medium

  * Only show apport UI if whoopsie is not in auto or never reporting mode.
    (LP: #1778697)
  * Ensure that when we move to systemd user session, we don't regress
    as well, taking into account the case where whoopsie isn't installed
    either.

 -- Didier Roche <didrocks at ubuntu.com>  Tue, 26 Jun 2018 17:04:33 +0200

** Changed in: update-notifier (Ubuntu)
       Status: New => Fix Released

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

Title:
  update-notifier always present apport-gtk UI on crashes, even on
  autoreport mode

Status in update-notifier package in Ubuntu:
  Fix Released
Status in update-notifier source package in Bionic:
  New

Bug description:
  [Impact]
  Apport-gtk is currently always started, even when whoopsie is installed and set in auto or never report mode.

  
  This is a regression since we moved from upstart to a systemd service. apport-gtk UI is always started, even in autoreport mode.
  The file condition path for autoreport isn't in the systemd unit.
  This is also the case when never reporting is enabled.

  [Test Case]

  Test case 1:
  1. install new version of update-notifier and restart your session
  2. in g-c-c, set apport to always report errors
  3. generate a crash (coredump)
  4. wait a little, ensure no apport-gtk UI is started

  Test case 2:
  1. in g-c-c, set apport to never report errors
  2. generate a crash (coredump)
  3. wait a little, ensure no apport-gtk UI is started

  Test case 3:
  1. in g-c-c, set apport to manually report errors
  2. generate a crash (coredump)
  3. wait a little, ensure apport-gtk UI is started

  Test case 4:
  1. in g-c-c, set apport to automatically or never report errors
  2. uninstalled whoopsie package
  3. generate a crash (coredump)
  4. wait a little, ensure apport-gtk UI is started

  [Regression potential]

  The patch hasn't many branch and only impact the "show apport-gtk"
  part. Any regressions will be easily detected by the previous test
  cases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1778697/+subscriptions



More information about the foundations-bugs mailing list