Your message dated Thu, 07 Apr 2022 10:19:01 +0000
with message-id <[email protected]>
and subject line Bug#1005812: fixed in dkms 3.0.3-1
has caused the Debian Bug report #1005812,
regarding dkms: modules are not deleted anymore when a kernel package is removed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1005812: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005812
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dkms
Version: 2.8.7-2
Severity: important
Tags: patch
Hi,
Due to two typos in /etc/kernel/prerm.d/dkms, modules built with DKMS
are not deleted anymore when a kernel package is removed.
The script fails to build the two variables "$name" and "$vers" because
the final pipe to "cut -d" is put outside the backquotes. The call to
"dkms remove" then fails with an error.
Attached is a small patch to fix the problem in the prerm script.
It would also be nice to advise users (with a note on package upgrade
for example) to clean up old leftover modules, or even better, run a
script to do it automatically (basically the logic would list the
installed modules with dkms status, and clear them if that's the only
file left in /lib/modules/<kernel_version>/). I can write it for you if
you want.
Regards,
--
Raphaƫl Halimi
--- /etc/kernel/prerm.d/dkms.orig 2021-10-01 11:34:34.000000000 +0200
+++ /etc/kernel/prerm.d/dkms 2022-02-15 15:19:49.616611838 +0100
@@ -13,8 +13,8 @@
if [ -x /usr/sbin/dkms ]; then
while read line; do
- name=`echo "$line" | awk '{print $1}' | sed 's/,$//'` | cut -d'/' -f1
- vers=`echo "$line" | awk '{print $1}' | sed 's/,$//'` | cut -d'/' -f2
+ name=`echo "$line" | awk '{print $1}' | sed 's/,$//' | cut -d'/' -f1`
+ vers=`echo "$line" | awk '{print $1}' | sed 's/,$//' | cut -d'/' -f2`
arch=`echo "$line" | awk '{print $3}' | sed 's/:$//'`
echo "dkms: removing: $name $vers ($inst_kern) ($arch)" >&2
dkms remove -m $name -v $vers -k $inst_kern -a $arch
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: dkms
Source-Version: 3.0.3-1
Done: Gianfranco Costamagna <[email protected]>
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.
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gianfranco Costamagna <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 07 Apr 2022 12:08:47 +0200
Source: dkms
Architecture: source
Version: 3.0.3-1
Distribution: unstable
Urgency: low
Maintainer: Dynamic Kernel Modules Support Team <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 945594 996104 996648 1005812
Changes:
dkms (3.0.3-1) unstable; urgency=low
.
* New upstream version 3.0.3 (Closes: #996104, Closes: #1005812, Closes:
#996648)
* Drop examples removed upstream
* Drop patches now part of upstream codebase:
- 149.patch
- do-not-load-modules.patch
* Refresh export-CC patch
.
[ Andreas Beckmann ]
* dkms-autopkgtest: If no linux-headers-* packages are installed, install
all available ones before building modules. (Closes: #945594)
* improve verbosity
Checksums-Sha1:
00cca3809d9f619497b2dbb3a52f8bf77eb79177 1964 dkms_3.0.3-1.dsc
0750d7f144ed4630648505464def4cbbbdd66837 55716 dkms_3.0.3.orig.tar.gz
9133a1aef7af6ea21baac834ea6ad22f507b50fa 20088 dkms_3.0.3-1.debian.tar.xz
dd71476969fa88a4d80f8675b7397c3d380e6ff0 7216 dkms_3.0.3-1_source.buildinfo
Checksums-Sha256:
8cb54effec685f68863394ee705ce3af90452f7daf01d02e9b8437fbb8cb5eef 1964
dkms_3.0.3-1.dsc
89e57cf90298f020646a5fa61d11983406631486b9f5591bb9da9465ee969f3d 55716
dkms_3.0.3.orig.tar.gz
86ad67f54d7ba3c853d0c9d1e9e89d0c9e68e53430c22f01dfd5195f418f8a37 20088
dkms_3.0.3-1.debian.tar.xz
649c53affc424bf2ea7f3082a228b6821ecec57fb83ccc5748b69ce07d00981d 7216
dkms_3.0.3-1_source.buildinfo
Files:
038226c2dd5225b863af972cdc358fb4 1964 kernel optional dkms_3.0.3-1.dsc
793cea9e7574c1eea006a04b65cfd807 55716 kernel optional dkms_3.0.3.orig.tar.gz
ddeaa49c16362b05631069e92992f9c9 20088 kernel optional
dkms_3.0.3-1.debian.tar.xz
489617d4cb0f3c532c081e169c4e7d1b 7216 kernel optional
dkms_3.0.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmJOuT8ACgkQ808JdE6f
XdkP1BAAhI1SY/VCGVlUtMT2oDResiGzuE6nAY/OubjO5DsBwntUvrWtP6Y28AqM
X1xflu4SGfPygijOBVNKgo1/W5W38FkniYcGFUcT3NjPAhlcclwdLM2KhCg+Qnrv
LUZecMqjItKLyJWKIWOzwWy40o26kHpTqLHld2DXYfNNVhLle8BQBiFFXapd27ce
mL0SzadNAMkxipRUxz5GzryfjHILSgqa7nGA6d+yeTrqjdCgcsSUhXfmrRQR07Hk
CrbIKehRLKDLRxKxaYUo8yWhWi3jlY/hWErrBfV8xMTUaLxaB48AAWHQUJpnnAQ0
6Ckx2UmK7qH73fAMYVm3KcFbeCj3aEBEIj+3CGpdfOM1r1Vl8RI3MUCOnaLEhpL/
G3299vgtEbc5VTVIdKOBZEhcN/WK/1y4Z0r5cuCwM7KhQkRwmzXcM1ESZ6bD1Mdf
vuNupsGNh57XDloEwX/X8C74MIOPJAKj5BYUsVYZDvPnWnz32zpIirEwCqdW7R3C
8UXgtlOi2Yii9Nr+iSDn7dJs1rPSMeHbOBAbOYtYD/dfUWymEhKfZuCaqR00vfn7
chWAfHvTDWU2alfJW/sy3j6iAQHx9f5p4CgornJ+T4ighrBhJgprZm9bwKJbFJpD
abndYwvMPfPSmcClaYTioum6g72IiuNt4pgcdmUXrXti2sAG8Ng=
=p8IA
-----END PGP SIGNATURE-----
--- End Message ---