Debian Bug report logs - #585771
dkms add failure isn't indicated by return 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: nick black <dank@qemfd.net>

Date: Sun, 13 Jun 2010 19:00:02 UTC

Severity: wishlist

Tags: upstream

Found in version dkms/2.1.1.2-3

Fixed in version 2.8.2-1

Done: Andreas Beckmann <anbe@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#585771; Package dkms. (Sun, 13 Jun 2010 19:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to nick black <dank@qemfd.net>:
New Bug report received and forwarded. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Sun, 13 Jun 2010 19:00:05 GMT) (full text, mbox, link).


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

From: nick black <dank@qemfd.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dkms add failure isn't indicated by return code
Date: Sun, 13 Jun 2010 14:56:45 -0400
Package: dkms
Version: 2.1.1.2-3
Severity: important
Tags: upstream


"dkms add" doesn't return a non-zero result despite failure to create
necessary files:

 [recombinator](1) $ dkms add -m nvidia -v 195.36.24
 
 Creating symlink /var/lib/dkms/nvidia/195.36.24/source ->
                  /usr/src/nvidia-195.36.24
 mkdir: cannot create directory `/var/lib/dkms/nvidia': Permission denied
 ln: creating symbolic link `/var/lib/dkms/nvidia/195.36.24/source': No such file or directory
 
 DKMS: add Completed.
 [recombinator](0) $ 

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

Kernel: Linux 2.6.34 (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/bash

Versions of packages dkms depends on:
ii  build-essential              11.5        Informational list of build-essent
ii  dpkg-dev                     1.15.7.2    Debian package development tools
ii  gcc                          4:4.4.4-2   The GNU C compiler
ii  make                         3.81-8      An utility for Directing compilati
ii  module-init-tools            3.12~pre2-3 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.34  recombinator2.6.34 Header files related to Linux kern
ii  linux-image-2.6.34 [l recombinator2.6.34 Linux kernel binary image for vers
ii  lsb-release           3.2-23.1           Linux Standard Base version report
ii  menu                  2.1.43             generates programs menu for all me
ii  patch                 2.6-2              Apply a diff file to an original
ii  sudo                  1.7.2p7-1          Provide limited super user privile

dkms suggests no packages.

-- no debconf information




Severity set to 'wishlist' from 'important' Request was from Michael Gilbert <michael.s.gilbert@gmail.com> to control@bugs.debian.org. (Wed, 18 Aug 2010 03:21:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#585771; Package dkms. (Thu, 14 May 2015 21:54:05 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>. (Thu, 14 May 2015 21:54:05 GMT) (full text, mbox, link).


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

From: Sandro Tosi <morph@debian.org>
To: 585771@bugs.debian.org
Subject: Re: dkms add failure isn't indicated by return code
Date: Thu, 14 May 2015 17:51:03 -0400
Hi,
I've been bitten by this bug (dkms v2.2.0.3) as well. I'm not quite
sure it is just priority 'wishlist' breaking one of the unix
assumptions (return code with meaning).

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



Reply sent to Andreas Beckmann <anbe@debian.org>:
You have taken responsibility. (Thu, 30 Mar 2023 16:00:02 GMT) (full text, mbox, link).


Notification sent to nick black <dank@qemfd.net>:
Bug acknowledged by developer. (Thu, 30 Mar 2023 16:00:03 GMT) (full text, mbox, link).


Message #17 received at 585771-done@bugs.debian.org (full text, mbox, reply):

From: Andreas Beckmann <anbe@debian.org>
To: 585771-done@bugs.debian.org
Subject: Re: dkms add failure isn't indicated by return code
Date: Thu, 30 Mar 2023 17:56:23 +0200
Version: 2.8.2-1

On Sun, 13 Jun 2010 14:56:45 -0400 nick black <dank@qemfd.net> wrote:
> Package: dkms
> Version: 2.1.1.2-3

> "dkms add" doesn't return a non-zero result despite failure to create
> necessary files:
> 
>  [recombinator](1) $ dkms add -m nvidia -v 195.36.24
>  
>  Creating symlink /var/lib/dkms/nvidia/195.36.24/source ->
>                   /usr/src/nvidia-195.36.24
>  mkdir: cannot create directory `/var/lib/dkms/nvidia': Permission denied
>  ln: creating symbolic link `/var/lib/dkms/nvidia/195.36.24/source': No such file or directory
>  
>  DKMS: add Completed.
>  [recombinator](0) $ 

Since upstream 2.8.2, this errors out with

    Error! You must be root to use this command.

and returns 1.


Andreas



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 28 Apr 2023 07:26:04 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:36:00 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.