apport-autoreport.service fails if autoreporting is disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
Medium
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Noble |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[ Impact ]
apport-
```
$ systemctl status apport-
× apport-
Loaded: loaded (/usr/lib/
Active: failed (Result: exit-code) since Thu 2024-06-13 21:55:08 CEST; 1h 9min ago
TriggeredBy: ● apport-
● apport-
Process: 1059564 ExecStart=
Main PID: 1059564 (code=exited, status=1/FAILURE)
CPU: 86ms
Jun 13 21:55:08 host systemd[1]: Starting apport-
Jun 13 21:55:08 host whoopsie-
Jun 13 21:55:08 host systemd[1]: apport-
Jun 13 21:55:08 host systemd[1]: apport-
Jun 13 21:55:08 host systemd[1]: Failed to start apport-
```
This service failure might mislead user thinking that there is a problem.
[ Test Plan ]
1. Disable auto-reporting in the system setting:
* open gnome-control-
* Switch to "Security & Privacy" panel
* Select "Diagnosticts" tab
* unselect "Send error reports to Canonical"
2. Produce a crash, e.g. by running divide-by-zero from chaos-marmosets
3. Check that apport-
4. Upgrade Apport to the fixed version
5. Restart apport-
6. apport-
[ Where problems could occur ]
This code change touches the auto-reporting part. Failures there could lead to less bugs being forwarded to the error tracker. This might be noticeable when looking at the number of submissions.
Changed in apport: | |
importance: | Undecided → Low |
Changed in apport (Ubuntu): | |
importance: | Undecided → Medium |
Changed in apport: | |
importance: | Low → Medium |
milestone: | none → 2.30.0 |
Changed in apport: | |
status: | Fix Committed → Fix Released |
Proposed fix: https:/ /github. com/canonical/ apport/ pull/355