This bug was fixed in the package dkms -

dkms ( xenial; urgency=medium

  * apport_name_in_valueerror.diff: (LP: #1588479)
    - Check the ValueError from apport for the package name too, this prevents
      reporting of dkms crashes about unsupported kernels.

 -- Brian Murray <>  Thu, 15 Sep 2016 14:22:14 -0700

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.

Title: supported kernel check is not working

Status in dkms package in Ubuntu:
  Fix Released
Status in dkms source package in Trusty:
  Fix Released
Status in dkms source package in Xenial:
  Fix Released
Status in dkms source package in Yakkety:
  Fix Released

Bug description:
  Test Case
  1) Look for some dkms package in /usr/src e.g. bbswitch-0.8
  2) Run python3 /usr/share/apport/package-hooks/ -m bbswitch 
-v 0.8 -k 4.6.1-01234-lowlatency
  3) Observe a crash report dialog from apport for bbswitch

  With the version of apport from -proposed you will instead receive:

  ERROR (dkms apport): kernel package linux-
  headers-4.6.1-01234-lowlatency is not supported

  The apport package hook for dkms packages seems to have an error in its 
supported kernel check.  If the kernel is an unsupported one, the hook should 
exit with a return code of 1.  However, in the Ubuntu Error Tracker we can see 
some crashes with unsupported kernel versions e.g.:
  DKMSKernelVersion: 4.6.1-040601-lowlatency
  DKMSKernelVersion: 4.6.0-040600-lowlatency

  If the intent really is to block creation of these reports, then let's
  do that.

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to