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

Bug#276475: marked as done (Doesn't ignore .dpkg* files in /etc/discover.d/)



Your message dated Thu, 21 Oct 2004 01:02:05 -0400
with message-id <E1CKV5R-0007uQ-00@newraff.debian.org>
and subject line Bug#276475: fixed in discover1 1.7.3
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; 14 Oct 2004 13:14:29 +0000
>From jdthood@yahoo.co.uk Thu Oct 14 06:14:29 2004
Return-path: <jdthood@yahoo.co.uk>
Received: from x102.decis.nl (localhost) [130.161.177.102] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CI5R7-00063T-00; Thu, 14 Oct 2004 06:14:29 -0700
Received: by localhost (Postfix, from userid 1001)
	id E556210E1BC; Thu, 14 Oct 2004 13:14:48 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============1377850925=="
MIME-Version: 1.0
From: Thomas Hood <jdthood@yahoo.co.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Doesn't ignore .dpkg* files in /etc/discover.d/
X-Mailer: reportbug 2.64
Date: Thu, 14 Oct 2004 13:14:48 +0200
Message-Id: <[🔎] 20041014111448.E556210E1BC@localhost>
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1377850925==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: discover1
Version: 1.7.2
Severity: important
Tags: patch

As it is currently written, discover1 will not ignore files in
/etc/discover.d/ that end in .dpkg-old.

Here is a patch that fixes this.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro

--===============1377850925==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="discover.init_jdth1.patch"

--- discover.init_ORIG	2004-10-13 23:26:09.000000000 +0200
+++ discover.init	2004-10-14 13:11:56.000000000 +0200
@@ -68,13 +68,12 @@
 read_configuration "$CONFFILE"
 read_configuration "$SKIPFILE"
 
-for part in /etc/discover.d/*; do
-    if [ "$part" = '/etc/discover.d/*' ]; then
-        break
-    fi
-
-    read_configuration "$part"
-done
+SKIPFILE_DIR="/etc/discover.d"
+if [ -d "$SKIPFILE_DIR" ] ; then
+    for part in $(run-parts --list "$SKIPFILE_DIR" 2>/dev/null || true); do
+        read_configuration "$part"
+    done
+fi
 
 # Detect hardware:
 echo -n "Detecting hardware: " >&2

--===============1377850925==--

---------------------------------------
Received: (at 276475-close) by bugs.debian.org; 21 Oct 2004 05:08:24 +0000
>From katie@ftp-master.debian.org Wed Oct 20 22:08:24 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 1CKVBY-0007DL-00; Wed, 20 Oct 2004 22:08:24 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CKV5R-0007uQ-00; Thu, 21 Oct 2004 01:02:05 -0400
From: Joshua Kwan <joshk@triplehelix.org>
To: 276475-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#276475: fixed in discover1 1.7.3
Message-Id: <E1CKV5R-0007uQ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 21 Oct 2004 01:02:05 -0400
Delivered-To: 276475-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=-6.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: 2

Source: discover1
Source-Version: 1.7.3

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

discover1-udeb_1.7.3_i386.udeb
  to pool/main/d/discover1/discover1-udeb_1.7.3_i386.udeb
discover1_1.7.3.dsc
  to pool/main/d/discover1/discover1_1.7.3.dsc
discover1_1.7.3.tar.gz
  to pool/main/d/discover1/discover1_1.7.3.tar.gz
discover1_1.7.3_i386.deb
  to pool/main/d/discover1/discover1_1.7.3_i386.deb
libdiscover1-dev_1.7.3_i386.deb
  to pool/main/d/discover1/libdiscover1-dev_1.7.3_i386.deb
libdiscover1-pic_1.7.3_i386.deb
  to pool/main/d/discover1/libdiscover1-pic_1.7.3_i386.deb
libdiscover1_1.7.3_i386.deb
  to pool/main/d/discover1/libdiscover1_1.7.3_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 276475@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joshua Kwan <joshk@triplehelix.org> (supplier of updated discover1 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: Sun, 17 Oct 2004 14:25:35 -0700
Source: discover1
Binary: libdiscover1 discover1 libdiscover1-pic discover1-udeb libdiscover1-dev
Architecture: source i386
Version: 1.7.3
Distribution: unstable
Urgency: high
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joshua Kwan <joshk@triplehelix.org>
Description: 
 discover1  - hardware identification system
 discover1-udeb - hardware identification library (udeb) (udeb)
 libdiscover1 - hardware identification library
 libdiscover1-dev - hardware identification library development files
 libdiscover1-pic - hardware identification library - static PIC version
Closes: 276474 276475 276722
Changes: 
 discover1 (1.7.3) unstable; urgency=high
 .
   * Joshua Kwan
     - Apply Thomas Hood's patch to use run-parts in /etc/discover.d.
       closes: #276475
     - Add Depends on discover1-data for discover1. closes: #276474
     - Add || true to mountsent variable assignment from grep. Oops.
       closes: #276722
Files: 
 08cc056936e5a7e87a9d2e31c0084bc0 1460 admin optional discover1_1.7.3.dsc
 90745819c95f378b95ae18680628d392 625384 admin optional discover1_1.7.3.tar.gz
 8e0dff29fa17ef4d8d63ea9731b39266 91252 admin optional discover1_1.7.3_i386.deb
 b080c475bb3a9f4299ca1e7a77451837 83308 libs optional libdiscover1_1.7.3_i386.deb
 ab66c7766fe5841fc166a28eda18fca9 57432 libdevel optional libdiscover1-dev_1.7.3_i386.deb
 20e0f556c7c891cd0bf5bf50e7387919 56016 libs extra libdiscover1-pic_1.7.3_i386.deb
 eb9b90a5c15ccc1f4f77acdbeefccb34 34664 debian-installer extra discover1-udeb_1.7.3_i386.udeb
package-type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: http://triplehelix.org/~joshk/pubkey_gpg.asc

iQIVAwUBQXc/4qOILr94RG8mAQLfYA/+IHLt3dEZ2n2vWnHON9DZaedcNhBsGzS4
FCfoZJ9zKXCSXqCHFmUr8NjTsKsDcK/8abTPMeFUPJpnRpdYTRHkuXQT2gb2AaNb
PwHIFWe4BvdSHYMU1wXLzHMfeKf6ZG13/sNkQld0wXBjDPpIQfZKxySRS+bZXReX
XGfyk95hbT0CvDZBtw1ORzaAU5e5fVxR81GcrkNyO/PEZiFIm3E3bB5dORv6xzoX
KGA+v4r0ThK8L3aKyJ/7nDP1WEBmvTDNzsEM945dcEcnxdOco/thDJ8Q0Ey/N+aY
FJpWAnrKGNOd2wCd5veNut6vnPViOTW9BL3KQihtQBa0fAA25Ru81fgkKOhtMaqL
4egE4oKEe0NZDjwKMK/OGuVTo9aIhUg11PjXGV4wUd2YojyRBAOiGGEXeJ9HrndJ
w5xwRZGTrcqCwpWvzYc4/jIvKqgwV1N7B3GZqQKsjwogTdBvcz4ugRBt8pLBwWZr
kp0J3MtH8Ns6gtjCA5k7B+sq4FyaRwUQix5haVT0PmqfrXDoJyly9Eld8av54Rlv
vi4qoKFQtaQGjAU2V+xdQQyfCY9b95If4BsKNB+n5WuUQFJm+K24jDdQ8Cmy+Xz2
KHyXB7wD6NDB5nEwDx8XQn16R7zo2ZTqMVvTaMn7qAnvEDKnmGcnMLBFPvPCD0iD
QtIaUfu/HoU=
=iWvu
-----END PGP SIGNATURE-----



Reply to: