Debian Bug report logs - #547353
dkms does not consistently detect which distribution it is running on

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: Ben Hutchings <ben@decadent.org.uk>

Date: Fri, 18 Sep 2009 21:45:02 UTC

Severity: normal

Found in version dkms/2.0.22.0-1

Fixed in version dkms/2.1.1.2-5

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#547353; Package dkms. (Fri, 18 Sep 2009 21:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
New Bug report received and forwarded. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Fri, 18 Sep 2009 21:45:05 GMT) (full text, mbox, link).


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

From: Ben Hutchings <ben@decadent.org.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dkms does not consistently detect which distribution it is running on
Date: Fri, 18 Sep 2009 22:36:53 +0100
Package: dkms
Version: 2.0.22.0-1
Severity: normal

dkms includes many tests for which distribution is in use, in order
to follow the distribution's conventions.  There are many different
methods used and they are not all reliable (see #546896).

It should ideally determine the distribution just once.  This can be
done using the lsb_release command; then, if that fails, looking for
files such as /etc/debian_version, /etc/redhat-release and
/etc/SuSE-release and perhaps failing if more than one is present.

In the Debian package (and other distribution packages) this check
could be replaced with a static assignment.

Ben.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dkms depends on:
ii  build-essential               11.4       Informational list of build-essent
ii  dpkg-dev                      1.15.4     Debian package development tools
ii  gcc                           4:4.3.3-9  The GNU C compiler
ii  make                          3.81-6     An utility for Directing compilati
ii  module-init-tools             3.10-3     tools for managing Linux kernel mo

Versions of packages dkms recommends:
ii  fakeroot                      1.13       Gives a fake root environment
ii  linux-headers-2.6.30-1-486 [l 2.6.30-6   Header files for Linux 2.6.30-1-48
ii  linux-headers-2.6.30-1-686 [l 2.6.30-6   Header files for Linux 2.6.30-1-68
ii  linux-headers-2.6.30-1-686-bi 2.6.30-6   Header files for Linux 2.6.30-1-68
ii  linux-headers-2.6.30-1-amd64  2.6.30-6   Header files for Linux 2.6.30-1-am
ii  linux-image-2.6.26-2-686 [lin 2.6.26-19  Linux 2.6.26 image on PPro/Celeron
ii  linux-image-2.6.30-1-amd64 [l 2.6.30-6   Linux 2.6.30 image on AMD64
ii  linux-image-2.6.30-2-amd64 [l 2.6.30-7   Linux 2.6.30 image on AMD64
ii  lsb-release                   3.2-23     Linux Standard Base version report
ii  menu                          2.1.41     generates programs menu for all me
ii  patch                         2.5.9-5    Apply a diff file to an original
ii  sudo                          1.7.2p1-1  Provide limited super user privile

dkms suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#547353; Package dkms. (Wed, 04 Aug 2010 12:51:06 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>. (Wed, 04 Aug 2010 12:51:06 GMT) (full text, mbox, link).


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

From: Giuseppe Iuculano <iuculano@debian.org>
To: 547353@bugs.debian.org,control@bugs.debian.org,547353-submitter@bugs.debian.org
Subject: [1732998] Fix for Bug#547353 committed to git
Date: Wed, 04 Aug 2010 12:49:18 +0000
tags 547353 + pending
thanks

Hello,

     The following change has been committed for this bug by
 Giuseppe Iuculano <iuculano@debian.org> on Wed, 4 Aug 2010 14:47:29 +0200.
 The fix will be in the next upload. 
=========================================================================
Do not use lsb_release to determine the distribution, add a a static assignment

Closes: #547353
=========================================================================

You can check the diff of the fix at:

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






Added tag(s) pending. Request was from Giuseppe Iuculano <iuculano@debian.org> to control@bugs.debian.org. (Wed, 04 Aug 2010 12:51:15 GMT) (full text, mbox, link).


Message sent on to Ben Hutchings <ben@decadent.org.uk>:
Bug#547353. (Wed, 04 Aug 2010 12:51:18 GMT) (full text, mbox, link).


Reply sent to Giuseppe Iuculano <iuculano@debian.org>:
You have taken responsibility. (Wed, 04 Aug 2010 14:51:05 GMT) (full text, mbox, link).


Notification sent to Ben Hutchings <ben@decadent.org.uk>:
Bug acknowledged by developer. (Wed, 04 Aug 2010 14:51:05 GMT) (full text, mbox, link).


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

From: Giuseppe Iuculano <iuculano@debian.org>
To: 547353-close@bugs.debian.org
Subject: Bug#547353: fixed in dkms 2.1.1.2-5
Date: Wed, 04 Aug 2010 14:47:14 +0000
Source: dkms
Source-Version: 2.1.1.2-5

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-5.debian.tar.gz
  to main/d/dkms/dkms_2.1.1.2-5.debian.tar.gz
dkms_2.1.1.2-5.dsc
  to main/d/dkms/dkms_2.1.1.2-5.dsc
dkms_2.1.1.2-5_all.deb
  to main/d/dkms/dkms_2.1.1.2-5_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 547353@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: Wed, 04 Aug 2010 16:03:16 +0200
Source: dkms
Binary: dkms
Architecture: source all
Version: 2.1.1.2-5
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: 547353
Changes: 
 dkms (2.1.1.2-5) unstable; urgency=low
 .
   * [bd3b35d] Set DISTRIB_ID=Debian in case lsb_release is missing
   * [2465627] Removed lsb-release from Pre-Depends
   * [1732998] Do not use lsb_release to determine the distribution, add
     a static assignment (Closes: #547353)
   * [d00ff09] Do not return error if /etc/dkms/framework.conf is missing
     (LP: #613407) - thanks to pasadrul
   * [618efc8] Copy from the right directory with mkdsc and copy
     source.changes when building with mkdsc (LP: #611652) - thanks to
     David Henningsson
   * [f23d6b0] Bump to standards-version 3.9.1, no changes needed
Checksums-Sha1: 
 d5b967aa43d502821c10f463e3c8e5eeb828c1dc 1290 dkms_2.1.1.2-5.dsc
 d6588b67a388891ee8278cdc46a7b1bf1cf88a9c 17566 dkms_2.1.1.2-5.debian.tar.gz
 2b5df52bb9e6055125a619b9271a6fedbee8dd80 71256 dkms_2.1.1.2-5_all.deb
Checksums-Sha256: 
 92f9182ec51a1655988c7937b56dc53bf36b3e2f99e81502d635fb6b24f25de8 1290 dkms_2.1.1.2-5.dsc
 403cf00ea95987956f6ba84552e12bdfe1cc368e89d899c6a453d08bbfbde1c5 17566 dkms_2.1.1.2-5.debian.tar.gz
 d03c34eece8496973a8e15dfed8a261c9a3ea8a22cfce58da7070be8efe610a4 71256 dkms_2.1.1.2-5_all.deb
Files: 
 f67a48524e4b5f2ffced33bd3473fb05 1290 kernel optional dkms_2.1.1.2-5.dsc
 54690c6ce98f99c422e4d8d521516a3c 17566 kernel optional dkms_2.1.1.2-5.debian.tar.gz
 0cb22562e4ae664d0beec8e882c543bd 71256 kernel optional dkms_2.1.1.2-5_all.deb

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

iEYEARECAAYFAkxZdDgACgkQNxpp46476arvUwCfSr/0E5Nra2pXIsH7C1fNNzLE
hEsAn0HBm7SW8ZKJsPJwxx7YXkj8RWhT
=x167
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 12 Sep 2010 07:34:52 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:35:56 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.