Debian Bug report logs - #588585
dkms package install fails with non-matching kernel

version graph

Package: dkms; Maintainer for dkms is Dynamic Kernel Module System Team <dkms@packages.debian.org>; Source for dkms is src:dkms (PTS, buildd, popcon).

Reported by: Jan-Marek Glogowski <glogow@fbihome.de>

Date: Fri, 9 Jul 2010 22:03:02 UTC

Severity: normal

Tags: patch

Found in version dkms/2.1.1.2-3

Fixed in version dkms/2.1.1.2-4

Done: Giuseppe Iuculano <iuculano@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#588585; Package dkms. (Fri, 09 Jul 2010 22:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jan-Marek Glogowski <glogow@fbihome.de>:
New Bug report received and forwarded. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Fri, 09 Jul 2010 22:03:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jan-Marek Glogowski <glogow@fbihome.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dkms package install fails with non-matching kernel
Date: Fri, 9 Jul 2010 23:47:05 +0200 (CEST)
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: dkms
Version: 2.1.1.2-3
Severity: normal
Tags: patch

dkms.conf allows to set a BUILD_EXCLUSIVE_KERNEL / BUILD_EXCLUSIVE_ARCH 
parameter to specify a regular expression which defines the subset of 
kernels / architectures which DKMS is allowed to build the module for. If 
the kernel being built for does not match against this regular 
expressions, the dkms build will error out with exit code 9.

The attached patch changes dkms_common.postinst to handle this dkms build 
error gracefully by skipping build for the non matching kernels.

Jan-Marek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkw3mNkACgkQj6MK58wZA3cPNQCcD30J9n8ghtyM6XgQ/3piuYzk
bOAAniWWGJ0t5KMZyhKl+onWCa152/3W
=2BFa
-----END PGP SIGNATURE-----
[dkms-skip-non-matching-kernel.diff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#588585; Package dkms. (Sat, 17 Jul 2010 11:09:08 GMT) (full text, mbox, link).


Acknowledgement sent to Giuseppe Iuculano <iuculano@debian.org>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Sat, 17 Jul 2010 11:09:08 GMT) (full text, mbox, link).


Message #10 received at 588585@bugs.debian.org (full text, mbox, reply):

From: Giuseppe Iuculano <iuculano@debian.org>
To: 588585@bugs.debian.org,control@bugs.debian.org,588585-submitter@bugs.debian.org
Subject: [eaeddb3] Fix for Bug#588585 committed to git
Date: Sat, 17 Jul 2010 11:08:00 +0000
tags 588585 + pending
thanks

Hello,

     The following change has been committed for this bug by
 Giuseppe Iuculano <iuculano@debian.org> on Sat, 17 Jul 2010 13:06:18 +0200.
 The fix will be in the next upload. 
=========================================================================
dkms_common.postinst: handle dkms build error gracefully by skipping build for the non matching kernels.

Closes: #588585
Thanks: Jan-Marek Glogowski

dkms.conf allows to set a BUILD_EXCLUSIVE_KERNEL / BUILD_EXCLUSIVE_ARCH
parameter to specify a regular expression which defines the subset of
kernels / architectures which DKMS is allowed to build the module for. If
the kernel being built for does not match against this regular
expressions, the dkms build will error out with exit code 9.

This patch changes dkms_common.postinst to handle this dkms build
error gracefully by skipping build for the non matching kernels.
=========================================================================

You can check the diff of the fix at:

    http://git.debian.org/?p=collab-maint/dkms.git;a=commitdiff;h=eaeddb3






Added tag(s) pending. Request was from Giuseppe Iuculano <iuculano@debian.org> to control@bugs.debian.org. (Sat, 17 Jul 2010 11:09:13 GMT) (full text, mbox, link).


Message sent on to Jan-Marek Glogowski <glogow@fbihome.de>:
Bug#588585. (Sat, 17 Jul 2010 11:09:16 GMT) (full text, mbox, link).


Reply sent to Giuseppe Iuculano <iuculano@debian.org>:
You have taken responsibility. (Sat, 17 Jul 2010 11:48:17 GMT) (full text, mbox, link).


Notification sent to Jan-Marek Glogowski <glogow@fbihome.de>:
Bug acknowledged by developer. (Sat, 17 Jul 2010 11:48:17 GMT) (full text, mbox, link).


Message #20 received at 588585-close@bugs.debian.org (full text, mbox, reply):

From: Giuseppe Iuculano <iuculano@debian.org>
To: 588585-close@bugs.debian.org
Subject: Bug#588585: fixed in dkms 2.1.1.2-4
Date: Sat, 17 Jul 2010 11:47:07 +0000
Source: dkms
Source-Version: 2.1.1.2-4

We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive:

dkms_2.1.1.2-4.debian.tar.gz
  to main/d/dkms/dkms_2.1.1.2-4.debian.tar.gz
dkms_2.1.1.2-4.dsc
  to main/d/dkms/dkms_2.1.1.2-4.dsc
dkms_2.1.1.2-4_all.deb
  to main/d/dkms/dkms_2.1.1.2-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 588585@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Giuseppe Iuculano <iuculano@debian.org> (supplier of updated dkms package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 17 Jul 2010 13:23:43 +0200
Source: dkms
Binary: dkms
Architecture: source all
Version: 2.1.1.2-4
Distribution: unstable
Urgency: low
Maintainer: Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>
Changed-By: Giuseppe Iuculano <iuculano@debian.org>
Description: 
 dkms       - Dynamic Kernel Module Support Framework
Closes: 586356 586724 588585 589308
Changes: 
 dkms (2.1.1.2-4) unstable; urgency=low
 .
   * [f649aa1] Added coreutils >= 7.4 in Depends (Closes: #586356)
   * [01c7c14] Remove old modules when removing a kernel (Closes: #586724)
     - thanks to Jan Muszynski
   * [b6182ba] Bump to Standards-Version 3.9.0, no changes needed
   * [eaeddb3] dkms_common.postinst: handle dkms build error gracefully
     by skipping build for the non matching kernels. (Closes: #588585) -
     thanks to Jan-Marek Glogowski
   * [73533c2] Promote lsb-release to Pre-Depends (Closes: #589308)
Checksums-Sha1: 
 6349fd51e5c0a7ee1041b5f1a1ae570fb441a94f 1290 dkms_2.1.1.2-4.dsc
 5d912ca4badc741f7e9edc2949ff72073595df53 15839 dkms_2.1.1.2-4.debian.tar.gz
 ab9eca871ec666ca31ef6009e6ade129cd3a232e 70938 dkms_2.1.1.2-4_all.deb
Checksums-Sha256: 
 3e78a6f0f9f30f9ba32a9c33df767abebb63eee3d177cdfabd385bfa6f06bff6 1290 dkms_2.1.1.2-4.dsc
 b5b46a0a6bc56f6668e986fbfa06f494fec55fa9e675194337ace60569ca237c 15839 dkms_2.1.1.2-4.debian.tar.gz
 597e030d0a76effcdd0560fd19bac91fb0702ca4b937c0abd2797247777105cd 70938 dkms_2.1.1.2-4_all.deb
Files: 
 c9aaee1042f6c36a52c47594e265828e 1290 kernel optional dkms_2.1.1.2-4.dsc
 fe57813241b0c39cdb9a4524b6c4d1d1 15839 kernel optional dkms_2.1.1.2-4.debian.tar.gz
 744fdbe05976a70fe2d4da828117cb24 70938 kernel optional dkms_2.1.1.2-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxBlJ0ACgkQNxpp46476ar78QCeO9KchCxp/bCHEV8MSUlO8uug
c+sAn2TZGcUJjEI6kxZinbW90cdX3d1I
=kBMO
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 25 Aug 2010 07:39:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 06:28:28 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.