dkms autoinstall does not respect kernel version parameter

Bug #948000 reported by Scott Moser
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

/etc/kernel/postinst.d/dkms is invoked by kernel installs as:
  /etc/kernel/postinst.d/dkms $INST_KERN

If /usr/lib/dkms/dkms_autoinstaller , /etc/kernel/postinst.d/dkms will :
   exec /usr/lib/dkms/dkms_autoinstaller start $inst_kern

/usr/lib/dkms/dkms_autoinstaller then invokes:
  dkms autoinstall --kernelver $kernel

But 'dkms autoinstall' does not take (or pay attention to) the --kernelver argument.

The result is that after a kernel upgrade, you
 * don't get modules built for your new kernel
 * build for other kernels than the one specified

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dkms 2.2.0.3-1ubuntu1 [modified: usr/sbin/dkms]
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic i686
NonfreeKernelModules: ath_hal
ApportVersion: 1.94-0ubuntu2
Architecture: i386
Date: Tue Mar 6 08:31:42 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dkms
UpgradeStatus: Upgraded to precise on 2012-02-06 (28 days ago)

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dkms (Ubuntu):
status: New → Confirmed
Revision history for this message
Jan Ivar Beddari (beddari) wrote :

So it is Confirmed, I'd say it's serious, but it is still set to Undecided ..

Anything I can do to help out here? In my case this bug results in my VMs failing to auto-rebuild their VirtualBox-modules.

Revision history for this message
Adam Conrad (adconrad) wrote :

Are we sure this is a dkms issue, and not an issue of modules with incorrect dkms.conf setups? I certainly don't see it with the modules I use (I always get modules built for new kernels on postinst), so a concrete example would be nice.

Revision history for this message
Scott Moser (smoser) wrote :

this was very likely a dupe of bug 928007.
i would not be offended if this were closed as a dupe unless i could show otherwise.

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.