Your message dated Mon, 27 Aug 2012 01:47:46 +0000
with message-id <[email protected]>
and subject line Bug#684901: fixed in kmod 9-2
has caused the Debian Bug report #684901,
regarding kmod: Fails silently when modules.alias.bin doesn't exist
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.)


-- 
684901: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684901
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kmod
Version: 8-2
Severity: normal

Hello,
While setting up a new VPS with Wheezy under a module-less kernel
(everything compiled-in) I've noticed that kmod's modprobe silently
returns 1 with no error message printed, no matter if you tell it
to load or unload a module.

Of course, the expected behavior is to return a module not found
error, like Squeeze's "old" modprobe did.

After a bit more testing using a more "standard" Debian install
(barebones system from current netinst with Debian standard kernel
3.2.0-3-686-pae) I've found out that this behavior is caused by lack
of /lib/modules/$(uname -r)/modules.alias.bin .

If you rename this file on an out-of-the-box Wheezy system,
modprobe will just return 1 without printing any warning message.

This of course breaks scripts sniffing modprobe's output.
(see Bug#684424 for example, which was my original problem.)

Script started on Tue 14 Aug 2012 03:41:39 PM CEST
root@debtestvm:/lib/modules/3.2.0-3-686-pae# modprobe -V
kmod version 8
root@debtestvm:/lib/modules/3.2.0-3-686-pae# modprobe nonexistent
FATAL: Module nonexistent not found.
root@debtestvm:/lib/modules/3.2.0-3-686-pae# modprobe -r nonexistent
FATAL: Module nonexistent not found.
root@debtestvm:/lib/modules/3.2.0-3-686-pae# mv modules.alias.bin 
modules.alias.bin.q
root@debtestvm:/lib/modules/3.2.0-3-686-pae# modprobe nonexistent
root@debtestvm:/lib/modules/3.2.0-3-686-pae# modprobe -r nonexistent
root@debtestvm:/lib/modules/3.2.0-3-686-pae# mv modules.alias.bin.q 
modules.alias.bin
root@debtestvm:/lib/modules/3.2.0-3-686-pae# modprobe nonexistent
FATAL: Module nonexistent not found.
root@debtestvm:/lib/modules/3.2.0-3-686-pae# modprobe -r nonexistent
FATAL: Module nonexistent not found.
root@debtestvm:/lib/modules/3.2.0-3-686-pae# exit

Script done on Tue 14 Aug 2012 03:42:45 PM CEST

Regards,
-- Wojciech

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.4.2-linode44 (SMP w/4 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 kmod depends on:
ii  libc6     2.13-33
ii  libkmod2  8-2
ii  lsb-base  4.1+Debian7

kmod recommends no packages.

kmod suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: kmod
Source-Version: 9-2

We believe that the bug you reported is fixed in the latest version of
kmod, 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.
Marco d'Itri <[email protected]> (supplier of updated kmod 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: SHA1

Format: 1.8
Date: Mon, 27 Aug 2012 00:40:18 +0200
Source: kmod
Binary: kmod module-init-tools libkmod2 libkmod-dev libkmod2-udeb
Architecture: source i386 all
Version: 9-2
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Description: 
 kmod       - tools for managing Linux kernel modules
 libkmod-dev - libkmod development files
 libkmod2   - libkmod shared library
 libkmod2-udeb - libkmod shared library (udeb)
 module-init-tools - transitional dummy package (module-init-tools to kmod)
Closes: 684901
Changes: 
 kmod (9-2) unstable; urgency=low
 .
   * Backported upstream fixes to make modprobe work like in module-init-tools
     and not load a blacklisted module even if modprobe is invoked with one of
     its aliases.
   * Report an error when some .bin files do not exist. (Closes: #684901)
   * Really build the udeb with -Os -fomit-frame-pointer.
Checksums-Sha1: 
 e0bdae3a55a2dea1a489e4f43fa8e9e4006af7d2 1181 kmod_9-2.dsc
 f0eb300bfcdf24c22f4e5dff2666fb2e067bd428 10785 kmod_9-2.debian.tar.gz
 f0ad32ce4411fd200106dc9c68204f5fbf09b563 59900 kmod_9-2_i386.deb
 d956c4f59c64881ddb054db8df137348567f7e63 1792 module-init-tools_9-2_all.deb
 b36f71b689df8e66ce19bdc1651cb5ea00a276c3 50054 libkmod2_9-2_i386.deb
 ad4291d4499e20f06de66fa4bcc5ce552cb22ff5 61652 libkmod-dev_9-2_i386.deb
 8325be568dea387e200a13f4ba35f1cadabae65c 44998 libkmod2-udeb_9-2_i386.udeb
Checksums-Sha256: 
 34f55a67c13364f720b05f7ce50655ff4da4371cc422b81673d88fa1d50e697d 1181 
kmod_9-2.dsc
 2073cd778b3454ca6136415ba3490fff670b3cc0f9cadb5e233d7aa7529f4810 10785 
kmod_9-2.debian.tar.gz
 8e964b71c14e44ee68fa1f11bbe3f187a765abcc3db469901a8b521878024e4f 59900 
kmod_9-2_i386.deb
 079829dd8a3ccbdea5c18b971271c421713622c07d77edc13023ed6d9eb8a691 1792 
module-init-tools_9-2_all.deb
 e8fdf54e89a16055d259f1d18ecc574f84193fab9fde78a6102c59732d1e8689 50054 
libkmod2_9-2_i386.deb
 5ea039634ac2b645db9a3a8c62776bed3854f8b838b1c2bddee60f208c9c51db 61652 
libkmod-dev_9-2_i386.deb
 24ccda029894d6d553c17c1c41e68f890d26bc554fab52517dbd548e2fe8994b 44998 
libkmod2-udeb_9-2_i386.udeb
Files: 
 2b9d0a45db4a7eb0be2c3c335b8c07df 1181 admin important kmod_9-2.dsc
 b879cbc06c0e6b9f59d8907a4196af09 10785 admin important kmod_9-2.debian.tar.gz
 b1b9b9d8d93976358dd70c4b4471f7ef 59900 admin important kmod_9-2_i386.deb
 dac99a99e5efd785e13c7c67fedcbcc1 1792 admin extra module-init-tools_9-2_all.deb
 39d9d87920dc338d523ce240a9e97da7 50054 libs important libkmod2_9-2_i386.deb
 6bba9c3fa0d112ff379b69525317bf43 61652 libdevel optional 
libkmod-dev_9-2_i386.deb
 488eb79315f88629f67720fb59ef17c1 44998 debian-installer important 
libkmod2-udeb_9-2_i386.udeb
Package-Type: udeb

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

iEYEARECAAYFAlA6z9YACgkQFGfw2OHuP7Gj7QCgl/wW4wO6Qf6rjAD6g5eF9DFO
EJEAn0Gtythk6qkDyoRe0epLZiOFCc33
=LqZ/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to