apport hook should only generate reports about supported kernel versions

Bug #766150 reported by Felix Geyer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: dkms

Currently dkms files a lot of bugs through the apport hook because people install kernels from the mainline ppa and the modules aren't compatible with them. Closing all these bugs costs a lot of developer resources so we really need to fix this for oneiric.

So when generating reports about build failures, the apport hook should check if the corresponding kernel package has been installed from the Ubuntu archive.
If the package is installed from another location, the hook should just silently quit.

Related branches

Felix Geyer (debfx)
Changed in dkms (Ubuntu):
importance: Undecided → High
Revision history for this message
Felix Geyer (debfx) wrote :

Another source of invalid apport reports are dist upgrades.
Kernel module builds may fail if the new kernel is installed before the upgraded *-dkms package.

tags: added: apport-hook
Changed in dkms (Ubuntu):
status: New → Triaged
Revision history for this message
Felix Geyer (debfx) wrote :
tags: added: patch
Revision history for this message
Mario Limonciello (superm1) wrote :

This required a few changes to work with master, but i've committed it to master.

Thanks!

Changed in dkms (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Would it be possible to get these changes uploaded as an SRU to Natty since that is where the majority of bug reports come from?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.2.0.1-0ubuntu1

---------------
dkms (2.2.0.1-0ubuntu1) oneiric; urgency=low

  * New upstream version. Bugs fixed in Ubuntu:
  * Apport hook:
    - Only generate reports about supported kernel version (LP: #766150)
    - Include fglrx make file (LP: #792444)
    - Crashes in get_source() (LP: #532496)
    - Apport script fails (LP: #798498)
  * Openafs modules leaving empty make.log (LP: #593509)
  * '_' in module name causes mkdeb to fail (LP: #511619)
  * PRE_BUILD command invoked from wrong directory. (LP: #702638)
  * Speed up for large amounts of modules (LP: #786672)
  * Leaves temp files in /tmp (LP: #810134)
  * Generate .changes file for LP: upload (LP: #582668)
  * Don't change access rights of upstream source (LP: #582670)
  * common.postinst fails on failed build (LP: #595968)
  * Using a hyphen as part of PACKAGE_VERSION causes failures (LP: #599983)
  * dkms shouldn't source all the variables in dkms.conf (LP: #599985)
 -- Mario Limonciello <email address hidden> Thu, 14 Jul 2011 13:18:56 -0500

Changed in dkms (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.