kerneloops-daemon crashes if "linux-image-$(uname -r)" doesn't exist in a apt repository
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | apport (Ubuntu) |
Low
|
Brian Murray | ||
Bug Description
How to reproduce:
1. Install "Non Ubuntu" kernel (e.g upstream)
2. Cause a kernel oops
3. kerneloops will crashe and apport will show the traceback
kerneloops should exit if "linux-
Related branches
- Martin Pitt: Approve on 2015-06-24
-
Diff: 12 lines (+1/-1)1 file modifieddata/kernel_oops (+1/-1)
| Changed in kerneloops (Ubuntu): | |
| status: | New → Invalid |
| status: | Invalid → New |
| Brian Murray (brian-murray) wrote : | #2 |
| affects: | kerneloops (Ubuntu) → apport (Ubuntu) |
| tags: | added: trusty |
| Changed in apport (Ubuntu): | |
| status: | New → Triaged |
| tags: | added: vivid wily |
| Changed in apport (Ubuntu): | |
| importance: | Undecided → Low |
| Changed in apport (Ubuntu): | |
| assignee: | nobody → Brian Murray (brian-murray) |
| status: | Triaged → In Progress |
| Changed in apport (Ubuntu): | |
| status: | In Progress → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package apport - 2.18-0ubuntu2
---------------
apport (2.18-0ubuntu2) wily; urgency=medium
* Fix PEP-8 error in test/test_
apport (2.18-0ubuntu1) wily; urgency=medium
* New upstream release. Changes since our last merge from trunk:
- apport-gtk: Use GtkWidget::valign property instead of GtkMisc::yalign
which is deprecated in GTK 3.16. Thanks Iain Lane.
- sandboxutils, make_sandbox(): Don't exit with 0 (success) if the
Executabl
- sandboxutils, make_sandbox(): Fix second round of package installs to go
into permanent root dir as well.
- apt/dpkg install_packages(): If a requested package version is not
available from apt in the given archive, try to download it from
Launchpad. Thanks to Brian Murray!
- kerneloops: Fix crash when determining the version of a custom kernel.
Thanks Brian Murray. (LP: #1468154)
- apt/dpkg install_packages(): Ignore -dbg packages whose descriptions
contain "transitional". (LP: #1469635)
- Keep "[origin: ...]" information in Package: and Dependencies: fields
for native-origins.d/ origins, so that it's possible to retrace them.
Thanks Brian Murray! (LP: #1470572)
- Add support for retracing with discovering and enabling foreign
Launchpad PPA origins, as specified in reports' Package:
fields. Thanks Brian Murray!
- hookutils.
the system. Thanks Brian Murray.
- Fix wrong assertion in crashdb.
under Python 3.5. (LP: #1474539)
* test/test_
unity-
(but works fine in trunk and on the retracers). To be investigated.
-- Martin Pitt <email address hidden> Fri, 17 Jul 2015 11:43:37 +0200
| Changed in apport (Ubuntu): | |
| status: | Fix Committed → Fix Released |


This is the relevant Traceback:
Traceback (most recent call last): apport/ kernel_ oops", line 36, in <module>
File "/usr/share/
if 'does not exist' in e.message:
AttributeError: 'ValueError' object has no attribute 'message'
/usr/share/ apport/ kernel_ oops is actually provided by apport.