Debian Bug report logs - #252287
hotplug: usb.rc bug: usb scripts are run twice on cold-plug

version graph

Package: hotplug; Maintainer for hotplug is (unknown);

Reported by: Atsushi Nakagawa <atnak@chejz.com>

Date: Wed, 2 Jun 2004 14:33:02 UTC

Severity: normal

Tags: patch

Merged with 248304

Found in version 0.0.20040329-8

Fixed in version hotplug/0.0.20040329-12

Done: Marco d'Itri <md@linux.it>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, atnak@chejz.com, Fumitoshi UKAI <ukai@debian.or.jp>:
Bug#252287; Package hotplug. (full text, mbox, link).


Acknowledgement sent to Atsushi Nakagawa <atnak@chejz.com>:
New Bug report received and forwarded. Copy sent to atnak@chejz.com, Fumitoshi UKAI <ukai@debian.or.jp>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Atsushi Nakagawa <atnak@chejz.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: hotplug: usb.rc bug: usb scripts are run twice on cold-plug
Date: Thu, 03 Jun 2004 00:23:26 +1000
Package: hotplug
Version: 0.0.20040329-8
Severity: normal

usb.rc calls usb.agent twice per device on cold-plug (/etc/init.d/hotplug start)
which in turn calls my /etc/hotplug/usb/* scripts twice.

Relavent lines in usb.rc [Starting line 112]:
    # in case the device may not care about $INTERFACE
    /etc/hotplug/usb.agent                               -- once here

    # try each interfaces if any (TYPE=0/* case only?)
    for intf in $device/[0-9]*; do
        DEVPATH=${intf#/sys/}
        if [ -f $intf/bInterfaceClass ]; then     
            # $INTERFACE will be updated in usb.agent
            /etc/hotplug/usb.agent                       -- again here
        fi
    done


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=C

Versions of packages hotplug depends on:
ii  debconf                      1.4.25      Debian configuration management sy
ii  module-init-tools            3.0-pre10-4 tools for managing Linux kernel mo
ii  procps                       1:3.2.1-2   The /proc file system utilities

-- debconf information excluded



Merged 248304 252287. Request was from Marco d'Itri <md@linux.it> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Marco d'Itri <md@linux.it>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Atsushi Nakagawa <atnak@chejz.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #12 received at 248304-close@bugs.debian.org (full text, mbox, reply):

From: Marco d'Itri <md@linux.it>
To: 248304-close@bugs.debian.org
Subject: Bug#248304: fixed in hotplug 0.0.20040329-12
Date: Sun, 18 Jul 2004 10:17:03 -0400
Source: hotplug
Source-Version: 0.0.20040329-12

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

hotplug_0.0.20040329-12.diff.gz
  to pool/main/h/hotplug/hotplug_0.0.20040329-12.diff.gz
hotplug_0.0.20040329-12.dsc
  to pool/main/h/hotplug/hotplug_0.0.20040329-12.dsc
hotplug_0.0.20040329-12_all.deb
  to pool/main/h/hotplug/hotplug_0.0.20040329-12_all.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 248304@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated hotplug 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, 18 Jul 2004 01:20:44 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-12
Distribution: unstable
Urgency: low
Maintainer: Fumitoshi UKAI <ukai@debian.or.jp>
Changed-By: Marco d'Itri <md@linux.it>
Description: 
 hotplug    - Linux Hotplug Scripts
Closes: 237952 243716 243716 243716 245500 248070 248304 248900 252287 253927 256893 256897 257043 257723 257849 257867 259141 259488
Changes: 
 hotplug (0.0.20040329-12) unstable; urgency=low
 .
   * Install the isapnp modprobe aliases in the right place.
   * New patch 012_usb.rc_fix_coldplugging to generate more correct
     coldplugging events for USB. Requires kernel >= 2.6.7.
     Remove obsolete patches 012_usb.rc_no_usbmodules and
     012_usb.rc_try_all_interfaces.
     (Closes: #243716, #245500, #243716, #243716, #248900, #237952, #248304)
     (Closes: #252287, #253927)
   * Removed patch 009_usb.agent_remover, it's broken (the $DEVPATH does
     not exist anymore on removal) and useless because now $DEVICE should
     always be generated. (Closes: #248070)
   * Create the net.enable flag file in postinst. (Closes: #256897)
   * Updated patch 050_net.agent_ifupdown to make net.ifup print a debug
     message only if net.enable does not exist yet. (Closes: #256893)
   * Updated patch firmware_dirs to search for firmware files in
     /usr/local/lib/firmware/ too. (Closes: #257849)
   * New patch 017_pci.rc_pcimodules_once to run pcimodules only once on
     2.4 systems. (Closes: #259488)
   * Updated po templates: da, fr. (Closes: #257867, #259141)
   * Updated isapnp.rc to support blacklisting by module name.
     Patch courtesy of Santi Béjar. (Closes: #257043)
   * Depend on grep >= 2.5.1.ds1-2, which fixes -q. (Closes: #257723)
Files: 
 fbc3277dd3eb1849a8df8dabaec15f9f 673 admin standard hotplug_0.0.20040329-12.dsc
 45b332380fa4aa817d099864e73482b5 40361 admin standard hotplug_0.0.20040329-12.diff.gz
 c6f06f279fead4f1524187d233f88309 60824 admin standard hotplug_0.0.20040329-12_all.deb

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

iD8DBQFA+oKrFGfw2OHuP7ERAgcvAJ9SpxeW28+j//HCV8V7Hbhr+4/RwgCgpct6
WYsdt6twGihzROhtA0fPQfU=
=UK7A
-----END PGP SIGNATURE-----




Message #13 received at 252287-close@bugs.debian.org (full text, mbox, reply):

From: Marco d'Itri <md@linux.it>
To: 252287-close@bugs.debian.org
Subject: Bug#252287: fixed in hotplug 0.0.20040329-12
Date: Sun, 18 Jul 2004 10:17:03 -0400
Source: hotplug
Source-Version: 0.0.20040329-12

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

hotplug_0.0.20040329-12.diff.gz
  to pool/main/h/hotplug/hotplug_0.0.20040329-12.diff.gz
hotplug_0.0.20040329-12.dsc
  to pool/main/h/hotplug/hotplug_0.0.20040329-12.dsc
hotplug_0.0.20040329-12_all.deb
  to pool/main/h/hotplug/hotplug_0.0.20040329-12_all.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 252287@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated hotplug 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, 18 Jul 2004 01:20:44 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-12
Distribution: unstable
Urgency: low
Maintainer: Fumitoshi UKAI <ukai@debian.or.jp>
Changed-By: Marco d'Itri <md@linux.it>
Description: 
 hotplug    - Linux Hotplug Scripts
Closes: 237952 243716 243716 243716 245500 248070 248304 248900 252287 253927 256893 256897 257043 257723 257849 257867 259141 259488
Changes: 
 hotplug (0.0.20040329-12) unstable; urgency=low
 .
   * Install the isapnp modprobe aliases in the right place.
   * New patch 012_usb.rc_fix_coldplugging to generate more correct
     coldplugging events for USB. Requires kernel >= 2.6.7.
     Remove obsolete patches 012_usb.rc_no_usbmodules and
     012_usb.rc_try_all_interfaces.
     (Closes: #243716, #245500, #243716, #243716, #248900, #237952, #248304)
     (Closes: #252287, #253927)
   * Removed patch 009_usb.agent_remover, it's broken (the $DEVPATH does
     not exist anymore on removal) and useless because now $DEVICE should
     always be generated. (Closes: #248070)
   * Create the net.enable flag file in postinst. (Closes: #256897)
   * Updated patch 050_net.agent_ifupdown to make net.ifup print a debug
     message only if net.enable does not exist yet. (Closes: #256893)
   * Updated patch firmware_dirs to search for firmware files in
     /usr/local/lib/firmware/ too. (Closes: #257849)
   * New patch 017_pci.rc_pcimodules_once to run pcimodules only once on
     2.4 systems. (Closes: #259488)
   * Updated po templates: da, fr. (Closes: #257867, #259141)
   * Updated isapnp.rc to support blacklisting by module name.
     Patch courtesy of Santi Béjar. (Closes: #257043)
   * Depend on grep >= 2.5.1.ds1-2, which fixes -q. (Closes: #257723)
Files: 
 fbc3277dd3eb1849a8df8dabaec15f9f 673 admin standard hotplug_0.0.20040329-12.dsc
 45b332380fa4aa817d099864e73482b5 40361 admin standard hotplug_0.0.20040329-12.diff.gz
 c6f06f279fead4f1524187d233f88309 60824 admin standard hotplug_0.0.20040329-12_all.deb

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

iD8DBQFA+oKrFGfw2OHuP7ERAgcvAJ9SpxeW28+j//HCV8V7Hbhr+4/RwgCgpct6
WYsdt6twGihzROhtA0fPQfU=
=UK7A
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:50:57 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.