[Bug 1778697] Re: update-notifier always present apport-gtk UI on crashes, even on autoreport mode
Launchpad Bug Tracker
1778697 at bugs.launchpad.net
Mon Jul 9 08:26:04 UTC 2018
This bug was fixed in the package update-notifier - 3.192.1.3
---------------
update-notifier (3.192.1.3) bionic; urgency=medium
* Use absolute patch when testing if whoopsie service is enabled.
(Thanks Jean-Baptiste!)
* Add some debug messages
update-notifier (3.192.1.2) bionic; urgency=medium
* Only show apport UI if whoopsie is not in auto or never reporting mode.
(LP: #1778697)
-- Didier Roche <didrocks at ubuntu.com> Mon, 02 Jul 2018 11:27:13 +0200
** Changed in: update-notifier (Ubuntu Bionic)
Status: Fix Committed => 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:
Fix Released
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