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

Bug#245535: marked as done (hw-detect: Fail sometimes if /etc/network/ is missing)



Your message dated Sat, 24 Apr 2004 06:02:04 -0400
with message-id <E1BHJz2-0007Jg-00@newraff.debian.org>
and subject line Bug#245535: fixed in ddetect 0.90
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; 23 Apr 2004 17:30:32 +0000
>From pre@saruman.uio.no Fri Apr 23 10:30:32 2004
Return-path: <pre@saruman.uio.no>
Received: from pat.uio.no [129.240.130.16] (7411)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BH4VU-0002t2-00; Fri, 23 Apr 2004 10:30:32 -0700
Received: from mail-mx1.uio.no ([129.240.10.29])
	by pat.uio.no with esmtp (Exim 4.20)
	id 1BH4VP-0002fa-OY; Fri, 23 Apr 2004 19:30:27 +0200
Received: from ulrik.uio.no ([129.240.12.4])
	by mail-mx1.uio.no with esmtp (Exim 4.30)
	id 1BH4VN-0007Kh-9M; Fri, 23 Apr 2004 19:30:25 +0200
Received: from saruman.uio.no ([129.240.201.202])
	by ulrik.uio.no with esmtp (Exim 2.12 #7)
	id 1BH4VN-0006Gb-00; Fri, 23 Apr 2004 19:30:25 +0200
Received: from pre by saruman.uio.no with local (Exim 4.30)
	id 1BH4VC-0000uH-96; Fri, 23 Apr 2004 19:30:14 +0200
To: submit@bugs.debian.org
Subject: hw-detect: Fail sometimes if /etc/network/ is missing
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <[🔎] E1BH4VC-0000uH-96@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Fri, 23 Apr 2004 19:30:14 +0200
X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning
X-UiO-MailScanner: No virus found
X-UiO-Spam-info: not spam, SpamAssassin (score=-5, required 12,
	UIO_MAIL_IS_INTERNAL -5.00)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1


Package: hw-detect
Version: 0.84
Tags: d-i patch

The package hw-detect fail sometimes, when this code is executed and
/etc/network/ don't exist:

   if [ -n "$newdevs" -a -n "$cardname" ]; then
        for dev in $newdevs; do
             echo "${dev}:${cardname}" >> /etc/network/devnames
        done
   fi

A description of the error is available from
<URL:http://bugs.skolelinux.no/show_bug.cgi?id=719>.  The fix is
probably to make sure /etc/network/ exists before appending to the
file.

Index: hw-detect.sh
===================================================================
--- hw-detect.sh        (revision 13701)
+++ hw-detect.sh        (working copy)
@@ -64,6 +64,7 @@
                newdevs="$(compare_devs "$olddevs" "$devs")"

                if [ -n "$newdevs" -a -n "$cardname" ]; then
+                       mkdir -p /etc/network
                        for dev in $newdevs; do
                                echo "${dev}:${cardname}" >> /etc/network/devnames
                        done

The code in question was added by joshk-guest.

---------------------------------------
Received: (at 245535-close) by bugs.debian.org; 24 Apr 2004 10:08:08 +0000
>From katie@ftp-master.debian.org Sat Apr 24 03:08:08 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHK4u-00039Y-00; Sat, 24 Apr 2004 03:08:08 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BHJz2-0007Jg-00; Sat, 24 Apr 2004 06:02:04 -0400
From: Petter Reinholdtsen <pere@debian.org>
To: 245535-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#245535: fixed in ddetect 0.90
Message-Id: <E1BHJz2-0007Jg-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 24 Apr 2004 06:02:04 -0400
Delivered-To: 245535-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Source: ddetect
Source-Version: 0.90

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

archdetect_0.90_i386.udeb
  to pool/main/d/ddetect/archdetect_0.90_i386.udeb
ddetect_0.90.dsc
  to pool/main/d/ddetect/ddetect_0.90.dsc
ddetect_0.90.tar.gz
  to pool/main/d/ddetect/ddetect_0.90.tar.gz
ethdetect_0.90_all.udeb
  to pool/main/d/ddetect/ethdetect_0.90_all.udeb
hw-detect-full_0.90_all.udeb
  to pool/main/d/ddetect/hw-detect-full_0.90_all.udeb
hw-detect_0.90_all.udeb
  to pool/main/d/ddetect/hw-detect_0.90_all.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 245535@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated ddetect 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: Sat, 24 Apr 2004 11:47:42 +0200
Source: ddetect
Binary: hw-detect-full archdetect hw-detect ethdetect
Architecture: source i386 all
Version: 0.90
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 archdetect - Hardware architect detector (udeb)
 ethdetect  - Detect network hardware and load kernel drivers for it (udeb)
 hw-detect  - Detect hardware and load kernel drivers for it (udeb)
 hw-detect-full - Detect hardware and load kernel drivers for it (full version) (udeb)
Closes: 245535
Changes: 
 ddetect (0.90) unstable; urgency=low
 .
   * Petter Reinholdtsen
     - Stop hw-detect from failing if /etc/network/ is
       missing. (Closes: #245535)
     - Log when pcmcia and hotplut support is detected.
     - Rewrite the code detecting which version of discover to use, and
       make it easier to change which package to install in /target/
       based on this.
Files: 
 946d6f93ee44428c5ba00228a622d7fc 768 debian-installer standard ddetect_0.90.dsc
 1cc0782c47bcea42c3aedd2ff29c93cf 152545 debian-installer standard ddetect_0.90.tar.gz
 96d27a8a5b3727fe6a8537a9a3b080a1 29636 debian-installer optional hw-detect_0.90_all.udeb
 cedc79e38e65d9dc6839e00469fb30b2 18170 debian-installer optional ethdetect_0.90_all.udeb
 a41b740eae681c1d8340ab5d11ca89c9 2534 debian-installer optional hw-detect-full_0.90_all.udeb
 1ddccc8c8d2006d05dd0e45ae59f1392 2372 debian-installer standard archdetect_0.90_i386.udeb
package-type: udeb

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

iD8DBQFAijgB20zMSyow1ykRAnQmAKCxFii6cjd8PXxueJ0//E3K6B5OpACgoWzs
5q68Cp0F4LffXOth/JXjs60=
=+wUM
-----END PGP SIGNATURE-----



Reply to: