[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340919: marked as done (hw-detect: /etc/network/devnames.gz accessed as regular file)



Your message dated Thu, 01 Dec 2005 05:17:05 -0800
with message-id <E1EhoJ7-0000Sk-DJ@spohr.debian.org>
and subject line Bug#340919: fixed in hw-detect 1.28
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Nov 2005 22:55:28 +0000
>From aragorn@tiscali.nl Sat Nov 26 14:55:28 2005
Return-path: <aragorn@tiscali.nl>
Received: from psmtp03.wxs.nl ([195.121.247.12])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Eg8x6-00016E-36
	for submit@bugs.debian.org; Sat, 26 Nov 2005 14:55:28 -0800
Received: from strider.fjphome.nl (ip545593b6.speed.planet.nl [84.85.147.182])
 by psmtp03.wxs.nl
 (iPlanet Messaging Server 5.2 HotFix 2.07 (built Jun 24 2005))
 with ESMTP id <0IQL004BK3NK9P@psmtp03.wxs.nl> for submit@bugs.debian.org; Sat,
 26 Nov 2005 23:54:57 +0100 (MET)
Date: Sat, 26 Nov 2005 23:54:47 +0100
From: Frans Pop <aragorn@tiscali.nl>
Subject: hw-detect: /etc/network/devnames.gz accessed as regular file
To: submit@bugs.debian.org
Message-id: <200511262354.57639.aragorn@tiscali.nl>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=nextPart1778504.nsxfd8NuVl
Content-transfer-encoding: 7bit
User-Agent: KMail/1.7.2
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_01,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

--nextPart1778504.nsxfd8NuVl
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: hw-detect
Version: 1.27
Severity: important

The file /etc/network/devnames.gz is created at build time as a gzipped
file. However, at runtime, the file is accessed in several places as if
it is a regular (uncompressed file).

In script ethdetect.sh there is one function where the gzipped file is
handled correctly, but in other places the uncompressed file is assumed.

$ wcgrep "network/devnames"
./ethdetect.sh:65:DEVNAMES=/etc/network/devnames.gz
./ethdetect.sh:91:              if grep "^$iface:" /etc/network/devnames | grep -q -i firewire; then
./ethdetect.sh:179:                     echo "${ndev}:${modinfo}" >> /etc/network/devnames

./hw-detect.sh:108:                             echo "${dev}:${cardname}" >> /etc/network/devnames
./hw-detect.sh:696:                             echo "$dev:$devname" >> /etc/network/devnames

./sysfs-update-devnames.sh:2:# Make sure that /etc/network/devnames is up to date, using sysfs. In
./sysfs-update-devnames.sh:10:  if grep "^$dev:" /etc/network/devnames >/dev/null 2>&1; then
./sysfs-update-devnames.sh:25:          echo "$dev:$vendorname $devicename" >> /etc/network/devnames

$ wcgrep DEVNAMES
./ethdetect.sh:65:DEVNAMES=/etc/network/devnames.gz
./ethdetect.sh:72:              zcat $DEVNAMES > $TEMP_EXTRACT
./ethdetect.sh:76:              modinfo=$(zcat $DEVNAMES | grep "^${module}:" | head -n 1 |cut -d':' -f2-)

(TEMP_EXTRACT is set to /tmp/devnames-static.txt)

--nextPart1778504.nsxfd8NuVl
Content-Type: application/pgp-signature

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

iD8DBQBDiOfBgm/Kwh6ICoQRAmveAJ9/3jbqMzW62KWk1hHEO6NrVxKT2ACfRMbt
6k5hvfuxtbFdYWp0BrwZ2g0=
=Riy9
-----END PGP SIGNATURE-----

--nextPart1778504.nsxfd8NuVl--

---------------------------------------
Received: (at 340919-close) by bugs.debian.org; 1 Dec 2005 13:21:17 +0000
>From katie@ftp-master.debian.org Thu Dec 01 05:21:17 2005
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EhoJ7-0000Sk-DJ; Thu, 01 Dec 2005 05:17:05 -0800
From: Colin Watson <cjwatson@debian.org>
To: 340919-close@bugs.debian.org
X-Katie: $Revision: 1.60 $
Subject: Bug#340919: fixed in hw-detect 1.28
Message-Id: <E1EhoJ7-0000Sk-DJ@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 01 Dec 2005 05:17:05 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: hw-detect
Source-Version: 1.28

We believe that the bug you reported is fixed in the latest version of
hw-detect, which is due to be installed in the Debian FTP archive:

archdetect_1.28_powerpc.udeb
  to pool/main/h/hw-detect/archdetect_1.28_powerpc.udeb
disk-detect_1.28_all.udeb
  to pool/main/h/hw-detect/disk-detect_1.28_all.udeb
ethdetect_1.28_all.udeb
  to pool/main/h/hw-detect/ethdetect_1.28_all.udeb
hw-detect_1.28.dsc
  to pool/main/h/hw-detect/hw-detect_1.28.dsc
hw-detect_1.28.tar.gz
  to pool/main/h/hw-detect/hw-detect_1.28.tar.gz
hw-detect_1.28_powerpc.udeb
  to pool/main/h/hw-detect/hw-detect_1.28_powerpc.udeb



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 340919@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated hw-detect 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  1 Dec 2005 13:04:27 +0000
Source: hw-detect
Binary: archdetect hw-detect disk-detect ethdetect
Architecture: source powerpc all
Version: 1.28
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 archdetect - Hardware architecture detector (udeb)
 disk-detect - Detect disk drives (udeb)
 ethdetect  - Detect network hardware and load kernel drivers for it (udeb)
 hw-detect  - Detect hardware and load kernel drivers for it (udeb)
Closes: 340919
Changes: 
 hw-detect (1.28) unstable; urgency=low
 .
   [ Frans Pop ]
   * Drop dependency on hotplug-udeb for hw-detect as there's no such thing.
   * ethdetect.sh: avoid grep error if /etc/network/devnames doesn't exist.
 .
   [ Colin Watson ]
   * Rename /etc/network/devnames.gz to /etc/network/devnames-static.gz to
     avoid confusion with /etc/network/devnames (closes: #340919).
   * Consider HOTPLUG_TYPE as udev if the hotplug handler is empty (i.e.
     udevd is listening for events on a netlink socket).
 .
   [ Updated translations ]
   * Malagasy (mg.po) by Jaonary Rabarisoa
   * Russian (ru.po) by Yuri Kozlov
Files: 
 f8daf6c516ada7dca5c4807e82767dbf 888 debian-installer standard hw-detect_1.28.dsc
 09b5256e901ab49140fa370a2fcb6363 135242 debian-installer standard hw-detect_1.28.tar.gz
 9aa6576e105e3f9e92db1031047b1773 21242 debian-installer optional ethdetect_1.28_all.udeb
 0b27663a5b7928be87614d5a6dfcc567 14162 debian-installer optional disk-detect_1.28_all.udeb
 3905d99bc97b42fa880d1a1521355259 74220 debian-installer standard hw-detect_1.28_powerpc.udeb
 0ec454f3864c690f2746366905c6d1a5 2444 debian-installer standard archdetect_1.28_powerpc.udeb
Package-Type: udeb

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

iD8DBQFDjvWx9t0zAhD6TNERAh4qAJ9OlAcT+MFWrUNyQHm5rrb7yGGGtQCcCIn2
qE++VEec8xuDcbjrH2Rcv+c=
=bXog
-----END PGP SIGNATURE-----



Reply to: