Your message dated Fri, 11 Aug 2006 13:47:46 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#307125: fixed in discover 2.1.0-1 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: discover Version: 2.0.7-2.1 Severity: minor Tags: patch Hi! I found that discover-modprobe fail to find if a module is already loaded in case it contains an underscore (_). This is because the module list has all dashes (-) converted to underscores (_). It happens it was not the case with 2.4 kernel series, but it is with the 2.6 ones. Here is a simple patch to convert all underscores to dashes in the module name as well as in the module list, so it should always work. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages discover depends on: ii libdiscover2 2.0.7-2.1 hardware identification library -- no debconf information--- /sbin/discover-modprobe 2005-04-24 20:33:52.000000000 +0700 +++ /tmp/discover-modprobe 2005-05-01 08:31:40.440938840 +0700 @@ -70,8 +70,8 @@ # Determine if the module is already loaded is_loaded() { - module="$1" - if sed 's/^\([^ ]\+\).*/\1/' /proc/modules | grep -q "^${module}\$" ; then + module="$(echo "$1" | sed 's/-/_/g')" + if sed 's/^\([^ ]\+\).*/\1/;s/-/_/g' /proc/modules | grep -q "^${module}\$" ; then true else false
--- End Message ---
--- Begin Message ---Source: discover Source-Version: 2.1.0-1 We believe that the bug you reported is fixed in the latest version of discover, which is due to be installed in the Debian FTP archive: discover-udeb_2.1.0-1_i386.udeb to pool/main/d/discover/discover-udeb_2.1.0-1_i386.udeb discover_2.1.0-1.diff.gz to pool/main/d/discover/discover_2.1.0-1.diff.gz discover_2.1.0-1.dsc to pool/main/d/discover/discover_2.1.0-1.dsc discover_2.1.0-1_i386.deb to pool/main/d/discover/discover_2.1.0-1_i386.deb discover_2.1.0.orig.tar.gz to pool/main/d/discover/discover_2.1.0.orig.tar.gz libdiscover-dev_2.1.0-1_i386.deb to pool/main/d/discover/libdiscover-dev_2.1.0-1_i386.deb libdiscover2_2.1.0-1_i386.deb to pool/main/d/discover/libdiscover2_2.1.0-1_i386.deb 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. Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated discover 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.7 Date: Fri, 11 Aug 2006 22:21:55 +0200 Source: discover Binary: discover-udeb libdiscover2 discover libdiscover-dev Architecture: source i386 Version: 2.1.0-1 Distribution: unstable Urgency: low Maintainer: Petter Reinholdtsen <[EMAIL PROTECTED]> Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]> Description: discover - hardware identification system discover-udeb - hardware identification system (udeb) (udeb) libdiscover-dev - hardware identification library development files libdiscover2 - hardware identification library Closes: 300906 304923 306169 307125 310944 335322 351381 363025 369598 382454 Changes: discover (2.1.0-1) unstable; urgency=low . [ Otavio Salvador ] * Remove the externals repositories. * Add a fresh copy of buildtools, portability and doctools dated 2005-07-16. * Add debian/update-buildsystem to allow us to sync with Progeny build system. * Fix build problem installing the bug script since the directory wasn't create at build time. * Cleanup the package building a bit and fix the problem using dh_strip. * Fix a compiler warning about signess with gcc-4.0. * Applied patch from Jean Christophe André <[EMAIL PROTECTED]> to fix already loaded module detection. (Closes: #307125) * Change place to store crashfile on /lib/discover/. (Closes: #306169) . [ Petter Reinholdtsen ] * Convert discover-modprobe (called from init.d script) to use Linux Software Base functions when present. Add suggest on lsb-base. * Add support for vendor default entries, to make it possible to return 'ati' and 'nv' drivers for unrecognized ATI and nVidia cards. This includes a change to the DTD. Patch from Daniel Stone and ubuntu. * Include reportbug helper script to get useful info in bug reports. . [ Jeff Licquia ] * Add a mechanism for the sysdeps to pass information back to discover, and make that information available for query under the "device" data node. . [ Petter Reinholdtsen ] * Take over this package from QA. * Add discover-aptinstall, installing hardware related debian packages. (Closes: #382454) * Do not install init.d script, and remove traces of it if present. It is no longer useful as udev do a much better job based on the /lib/modules/*/modules.* files provided by the kernel. This make the boot order irrelevant. (Closes: #310944, #369598, #363025) * Add LSB info to the init.d script in the source directory, for those interested in using it. (Closes: #335322) * Update Standards-Version from 3.6.2to 3.7.2. No changes needed. * Remove directory /var/state/discover/ if it exist. It haven't been used since version 1.2-1. (Closes: #304923) * Teach discover-modprobe to handle modules with names which are a substring of other module names. Patch from Branden Robinson. (Closes: #300906) * Remove vim instructions at the end of debian/changelog to keep lintian happy. * Update to use debhelper 4. Add ${misc:Depends} to depends lines. * Remove all traces of the obsolete cdrom question. (Closes: #351381) Files: dfe6c977a4f7bcb96865e30f24cccccf 676 admin optional discover_2.1.0-1.dsc 1b25a36a8984d461fe4a74b5c162ec31 650186 admin optional discover_2.1.0.orig.tar.gz 59796d5036699d6ade08c507327c699b 99207 admin optional discover_2.1.0-1.diff.gz 243bd7d6688793a0588c42daac94bbb8 305384 admin optional discover_2.1.0-1_i386.deb dff6b58872bd470cda417cce97d67618 98060 libs optional libdiscover2_2.1.0-1_i386.deb 9c47f28219c1f315ca3c7c22bed7e4ef 112406 libdevel optional libdiscover-dev_2.1.0-1_i386.deb eed71e015c07b61b0dc1263aa60a6bd1 272324 debian-installer extra discover-udeb_2.1.0-1_i386.udeb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE3OmM20zMSyow1ykRArrcAJ9R4XCvo80YBUbwU0WEYS0KIxEuPACgsjpx m6oVEaG9iKLSfsDSbsjo5I4= =RxIE -----END PGP SIGNATURE-----
--- End Message ---

