Debian Bug report logs - #565990
dkms status should have the status as exit code

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: Evgeni Golov <evgeni@debian.org>

Date: Wed, 20 Jan 2010 13:30:01 UTC

Severity: wishlist

Found in version dkms/2.1.1.0-2

Forwarded to dkms-devel@dell.com

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, evgeni@debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#565990; Package dkms. (Wed, 20 Jan 2010 13:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Evgeni Golov <evgeni@debian.org>:
New Bug report received and forwarded. Copy sent to evgeni@debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Wed, 20 Jan 2010 13:30:05 GMT) (full text, mbox, link).


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

From: Evgeni Golov <evgeni@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dkms status should have the status as exit code
Date: Wed, 20 Jan 2010 14:27:04 +0100
Package: dkms
Version: 2.1.1.0-2
Severity: wishlist

Hi,

currently, when one wants to check whether a module is installed to dkms, one
has to call
dkms status -m <module> -v <version>
and look for any output.
dkms *has* a -q option, which makes it silent, but the exit code is always 0,
regardless of the state of the module (existant or not). I'd expect a non-zero
one when the package is not installed.

Regards
Evgeni

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

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.5.6   Debian package development tools
ii  gcc                           4:4.4.2-3  The GNU C compiler
ii  make                          3.81-7     An utility for Directing compilati
ii  module-init-tools             3.11-1     tools for managing Linux kernel mo

Versions of packages dkms recommends:
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  linux-headers-2.6.30-1-amd64  2.6.30-6   Header files for Linux 2.6.30-1-am
ii  linux-headers-2.6.30-2-amd64  2.6.30-8   Header files for Linux 2.6.30-2-am
ii  linux-headers-2.6.31-1-amd64  2.6.31-2   Header files for Linux 2.6.31-1-am
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-8   Linux 2.6.30 image on AMD64
ii  linux-image-2.6.31-1-amd64 [l 2.6.31-2   Linux 2.6.31 for 64-bit PCs
ii  linux-image-2.6.32-trunk-amd6 2.6.32-5   Linux 2.6.32 for 64-bit PCs
ii  lsb-release                   3.2-23     Linux Standard Base version report
ii  menu                          2.1.42     generates programs menu for all me
ii  patch                         2.6-2      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




Set Bug forwarded-to-address to 'dkms-devel@dell.com'. Request was from Michael Gilbert <michael.s.gilbert@gmail.com> to control@bugs.debian.org. (Sun, 06 Jun 2010 17:57:23 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:52 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.