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

Jean-Baptiste Lallement jean-baptiste.lallement at ubuntu.com
Tue Jul 3 09:26:06 UTC 2018


I have reproduced the problem with update-notifier 3.192.1.1 in bionic-
updates and have verified that the version of update-notifier 3.192.1.3
in -proposed fixes the issue.

Marking as verification-done

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
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:
  Fix Committed

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]
  The test cases depend on g-c-c 1:3.28.1-0ubuntu1.18.04.2
  https://launchpad.net/ubuntu/+source/gnome-control-center/1:3.28.1-0ubuntu1.18.04.2

  
  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