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

Bug#276722: marked as done (discover1: "set -e" prevents cdrom mountpoint creation)



Your message dated Thu, 21 Oct 2004 01:02:05 -0400
with message-id <E1CKV5R-0007uS-00@newraff.debian.org>
and subject line Bug#276722: 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; 15 Oct 2004 21:56:22 +0000
>From farzy@farzy.org Fri Oct 15 14:56:22 2004
Return-path: <farzy@farzy.org>
Received: from postfix4-1.free.fr [213.228.0.62] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CIa3h-0006cs-00; Fri, 15 Oct 2004 14:56:22 -0700
Received: from localhost.localdomain (home.farzy.org [81.56.230.243])
	by postfix4-1.free.fr (Postfix) with ESMTP id 46E621F0D6E;
	Fri, 15 Oct 2004 23:56:20 +0200 (CEST)
Received: from farzy by localhost.localdomain with local (Exim 4.34)
	id 1CIa3d-00012H-4b; Fri, 15 Oct 2004 23:56:17 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Farzad FARID <farzy@farzy.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: discover1: "set -e" prevents cdrom mountpoint creation
X-Mailer: reportbug 2.99.5
Date: Fri, 15 Oct 2004 23:56:16 +0200
Message-Id: <[🔎] E1CIa3d-00012H-4b@localhost.localdomain>
Sender: Farzad FARID <farzy@farzy.org>
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: 

Package: discover1
Version: 1.7.2
Severity: important


On my freshly installed Debian unstable, /etc/init.d/discover fails to
create the symlinks in /dev and /media. I trace this down with "sh -x
/etc/init.d/discover start" and found out that the script stopped on
an error while grepping /proc/mounts, therefore never finishing its
job.

If I suppress "set -e" at the beginning of the script, the symlinks
are correctly created.

Here is a partial output of "sh -x /etc/init.d/discover start":
  [...]
  + aliases=
  + sed 's/ .*$//' /proc/modules
  + grep -qE '^(usb-uhci)$'
  + echo 'Skipping already loaded module usb-uhci.'
  Skipping already loaded module usb-uhci.
  + continue
  + '[' true = true ']'
  + for CDMOUNT in '${CDROM_BASE_MOUNTPOINT}cdrom?'
  ++ grep ' /media/cdrom0 ' /proc/mounts
  + mountsent=
  23:48 [root:pts/5] labyrinth# echo $?
  1

 Regards

-- Package-specific info:
lspci:
0000:00:00.0 0600: 8086:2584 (rev 04)
0000:00:00.0 Host bridge: Intel Corp. 925X Memory Controller Hub (rev 04)
0000:00:01.0 0604: 8086:2585 (rev 04)
0000:00:01.0 PCI bridge: Intel Corp. 925X PCI Express Root Port (rev 04)
0000:00:1c.0 0604: 8086:2660 (rev 03)
0000:00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
0000:00:1c.1 0604: 8086:2662 (rev 03)
0000:00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
0000:00:1d.0 0c03: 8086:2658 (rev 03)
0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
0000:00:1d.1 0c03: 8086:2659 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
0000:00:1d.2 0c03: 8086:265a (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
0000:00:1d.3 0c03: 8086:265b (rev 03)
0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
0000:00:1d.7 0c03: 8086:265c (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
0000:00:1e.0 0604: 8086:244e (rev d3)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3)
0000:00:1f.0 0601: 8086:2640 (rev 03)
0000:00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
0000:00:1f.2 0101: 8086:2652 (rev 03)
0000:00:1f.2 IDE interface: Intel Corp. 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 03)
0000:00:1f.3 0c05: 8086:266a (rev 03)
0000:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
0000:01:00.0 0300: 1002:5b60
0000:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5b60
0000:01:00.1 0380: 1002:5b70
0000:01:00.1 Display controller: ATI Technologies Inc: Unknown device 5b70
0000:02:00.0 0200: 14e4:1677 (rev 01)
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
0000:04:01.0 0401: 1102:0004 (rev 04)
0000:04:01.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
0000:04:01.2 0c00: 1102:4001 (rev 04)
0000:04:01.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
0000:04:07.0 0c00: 104c:8024
0000:04:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

discover:

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686-smp
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR

Versions of packages discover1 depends on:
ii  dash                        0.5.1-3      The Debian Almquist Shell
ii  debconf                     1.4.39       Debian configuration management sy
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libdiscover1                1.7.2        hardware identification library

-- debconf information:
* discover/manage_cdrom_devices: true
* discover/cdrom_base_mountpoint: /media/
  discover/cdrom_base_mountpoint_error:

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

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 276722@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: