In autoreport mode in whoopsie-preferences API, reports are not sent by whoopsie
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
High
|
Didier Roche-Tolomelli |
Bug Description
[ Impact ]
* The goal for autoreporting via whoopsie is to have a silent mode where whoopsie automatically reports crashes. However, this one requires apport-noui to be installed, which we don't by default.
apport-noui is just a set of systemd unit starting whoopsie-upload-all (part of apport binary package).
We should move the unit to apport package itself.
[ Test Case ]
* Install the new apport package from proposed
* Set in g-c-c, privacy panel, to report bugs automatically
* Make one program dumping a core dump
* Wait for a while, you should have a .upload and .uploaded files in addition to the .crash one in /var/crash
[ Regression potential ]
The systemd units were in apport-noui previously, we moved them and made them conditional to whoopsie being installed.
apport-noui is still useful by turning autoreport on, so people upgrading shouldn't have any impact or difference.
The units have been renamed to make sense and avoid package files overwrite.
-------
There are 2 possible solutions:
- promoting apport-noui to main, and seeding it.
- or considering there is no reason anymore to have a separate apport-noui pacakge (no more phone factor), and so move the systemd units to apport, having a conditional file on whoopsie installed (no more dependency) and autoreport enabled, shipping those units binary package shipping those units (renamed to apport-
Related branches
description: | updated |
affects: | whoopsie (Ubuntu) → apport (Ubuntu) |
description: | updated |
Changed in apport (Ubuntu): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in apport (Ubuntu Bionic): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in apport (Ubuntu): | |
importance: | Undecided → High |
Changed in apport (Ubuntu Bionic): | |
importance: | Undecided → High |
It's not clear from the changelog/package history why -noui was a split package. It does depends on "apport" so doesn't pull in less components, if there is a config API and a way to use/not use the service I don't see the point of splitting the binary, I would just merge it back with apport. (unless the point was that installing the binary would mean enabling the feature and that the change result in a behaviour change for users who rely on that?)
Note that apport-noui depens on watershed which is currently in universe, but it looks like that was in main in the past so should be just a matter of re-promoting.