aptdaemon doesn't check if apport is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
High
|
Brian Murray |
Bug Description
Binary package hint: aptdaemon
aptdaemon has its own crash handler and it does not check to see if apport is enabled before writing a crash report. Subsequently, we are receiving lots of crash reports regarding aptdaemon on natty which are duplicates and wasteful. Instead aptdaemon should check to see if apport is enabled before writing a crash report.
TEST CASE:
1) Verify that apport is disabled:
enabled=0 in /etc/default/apport
2) Make aptdaemon crash with an uncaught exception [*]
3) Observe an apport crash reporting dialog
After installing the package from -proposed
1) Make aptdaemon crash with an uncaught exception [*]
2) Observer there is not an apport crash reporting dialog
[*] How to make aptdaemon crash
1. Copy an uninstalled .deb file to your local folder
2. Run the following command in a terminal (remember to revert to +x after the test)
$ sudo chmod -x /usr/bin/lintian
3. Open a file browser and double-click on the deb file to open it in software-center
4. Click on install
=> aptdaemon will crash with a "permission denied" error (which is a bug BTW)
Related branches
- Martin Pitt (community): Needs Fixing
- Michael Vogt: Pending requested
-
Diff: 38 lines (+19/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/check_if_apport_enabled.patch (+11/-0)
debian/patches/series (+1/-0)
- Martin Pitt (community): Approve
-
Diff: 12 lines (+2/-1)1 file modifiedaptdaemon/crash.py (+2/-1)
Changed in aptdaemon (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in aptdaemon (Ubuntu Natty): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in aptdaemon (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in aptdaemon (Ubuntu): | |
assignee: | Brian Murray (brian-murray) → nobody |
status: | In Progress → Fix Released |
description: | updated |
tags: | added: testcase |
Hello Brian, or anyone else affected,
Accepted aptdaemon into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you in advance!