update-notifier always present apport-gtk UI on crashes, even on autoreport mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
High
|
Didier Roche-Tolomelli |
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.
https:/
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.
Related branches
- Dennis Kaarsemaker: Pending requested
- Diff: 0 lines
description: | updated |
description: | updated |
Changed in update-notifier (Ubuntu): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in update-notifier (Ubuntu Bionic): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in update-notifier (Ubuntu): | |
importance: | Undecided → High |
Changed in update-notifier (Ubuntu Bionic): | |
importance: | Undecided → High |
description: | updated |
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 <email address hidden> Tue, 26 Jun 2018 17:04:33 +0200