Debian Bug report logs -
#582534
dkms: Kernel postinst script does not report errors
Reported by: Matthew Gabeler-Lee <cheetah@fastcat.org>
Date: Fri, 21 May 2010 17:09:02 UTC
Severity: important
Found in version dkms/2.1.1.2-2
Fixed in version 2.1.1.2-3
Done: Michael Gilbert <michael.s.gilbert@gmail.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#582534; Package dkms.
(Fri, 21 May 2010 17:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthew Gabeler-Lee <cheetah@fastcat.org>:
New Bug report received and forwarded. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Fri, 21 May 2010 17:09:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dkms
Version: 2.1.1.2-2
Severity: important
When invoking dkms after installing a new kernel, the kernel postinst script
hides all errors. It pipes the output of /usr/lib/dkms/dkms_autoinstaller
to /dev/null, and does not check its return code. If any of the modules
dkms is attempting to build are important, this could be a serious problem.
Running dkms_autoinstaller by hand, it does not produce much output, even if
there is an error (one line per module build attempted), so it seems
reasonable to not pipe the output to /dev/null. And if the module build(s)
fail, shouldn't the postinst script fail as well?
Of course I just checked, and dkms_autoinstaller does not exit with an error
code in the case of module build(s) failing, which also seems wrong. Nor
does it send any output to stderr. It seems to me like it ought to do both.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32.5-1 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
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.1 Debian package development tools
ii gcc 4:4.4.3-1 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
pn linux-headers-2.6-686 | linux <none> (no description available)
ii linux-image-2.6.31-1 [linux-i 1 Linux kernel binary image for vers
ii linux-image-2.6.31.6-1 [linux 1 Linux kernel binary image for vers
ii linux-image-2.6.32.5-1 [linux 4 Linux kernel binary image for vers
ii linux-image-2.6.34-1 [linux-i 1 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.2p6-1 Provide limited super user privile
dkms suggests no packages.
-- no debconf information
Reply sent
to Michael Gilbert <michael.s.gilbert@gmail.com>:
You have taken responsibility.
(Sun, 06 Jun 2010 17:45:07 GMT) (full text, mbox, link).
Notification sent
to Matthew Gabeler-Lee <cheetah@fastcat.org>:
Bug acknowledged by developer.
(Sun, 06 Jun 2010 17:45:07 GMT) (full text, mbox, link).
Message #10 received at 582534-done@bugs.debian.org (full text, mbox, reply):
version: 2.1.1.2-3
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 13 Jul 2010 07:34:31 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:27 2023;
Machine Name:
bembo
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.