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
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
Message-Id: <email address hidden>
Date: Fri, 15 Oct 2004 23:56:16 +0200
From: Farzad FARID <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: discover1: "set -e" prevents cdrom mountpoint creation
Package: discover1
Version: 1.7.2
Severity: important
On my freshly installed Debian unstable, /etc/init. d/discover fails to d/discover start" and found out that the script stopped on
create the symlinks in /dev and /media. I trace this down with "sh -x
/etc/init.
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": BASE_MOUNTPOINT }cdrom? '
[...]
+ 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_
++ grep ' /media/cdrom0 ' /proc/mounts
+ mountsent=
23:48 [root:pts/5] labyrinth# echo $?
1
Regards
-- Package-specific info: FBM/FR/ FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) FBM/FR/ FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03) FBM/FR/ FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) FBM/FR/ FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) FBM/FR/ FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) FBM/FR/ FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) FBM/FR/ FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) FBM/FR/ FW/FRW (ICH6 Family) SMBus Controller (rev 03)
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/
0000:00:1c.1 0604: 8086:2662 (rev 03)
0000:00:1c.1 PCI bridge: Intel Corp. 82801FB/
0000:00:1d.0 0c03: 8086:2658 (rev 03)
0000:00:1d.0 USB Controller: Intel Corp. 82801FB/
0000:00:1d.1 0c03: 8086:2659 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801FB/
0000:00:1d.2 0c03: 8086:265a (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801FB/
0000:00:1d.3 0c03: 8086:265b (rev 03)
0000:00:1d.3 USB Controller: Intel Corp. 82801FB/
0000:00:1d.7 0c03: 8086:265c (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801FB/
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/
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: manage_ cdrom_devices: true cdrom_base_ mountpoint: /media/ cdrom_base_ mountpoint_ error:
* discover/
* discover/
discover/