Your message dated Sun, 20 Mar 2005 09:32:11 -0500 with message-id <[EMAIL PROTECTED]> and subject line Bug#300113: fixed in hotplug 0.0.20040329-20 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; 17 Mar 2005 18:23:43 +0000 >From [EMAIL PROTECTED] Thu Mar 17 10:23:43 2005 Return-path: <[EMAIL PROTECTED]> Received: from hexagon.math-inst.hu (renyi.hu) [193.224.79.1] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DBzep-0006PN-00; Thu, 17 Mar 2005 10:23:43 -0800 Received: from pc63.math-inst.hu (pc63.math-inst.hu [193.224.79.63]) by renyi.hu (8.8.8/8.8.8/3s) with ESMTP id TAA27313 for <[EMAIL PROTECTED]>; Thu, 17 Mar 2005 19:23:40 +0100 (CET) Received: by renyi.hu via sendmail from stdin id <[EMAIL PROTECTED]> (Debian Smail3.2.0.115) Thu, 17 Mar 2005 19:23:40 +0100 (CET) From: [EMAIL PROTECTED] (Braun Gabor) Date: Thu, 17 Mar 2005 19:23:40 +0100 To: [EMAIL PROTECTED] Subject: hotplug: Hotplug system does not start. Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (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_2005_01_02 X-Spam-Level: Package: hotplug Version: 0.0.20040329-17 Severity: grave Justification: renders package unusable Tags: patch At boot time nothing hotplug related appears on the screen, not even something like "Starting hotplug subsystem". When inserting a pendrive it is unmountable (/dev/sda1 does not exist). (This is the only thing I use hotplug for.) The init script /etc/init.d/hotplug seems to have no effect: when called with no argument it prints a usage message (as expected), when called with 'restart' or 'status' it does not print anything and nothing seems to happen. The pendrive remains unmountable. I think the problem is that the init script /etc/init.d/hotplug (1) runs under "sh -e" so it exits immediately when a command returns non-zero (as described in the output of 'sh -c "help set"'); (2) uses "unset" to unset variables which are not known to be set. The unset command returns non-zero when applied to a read-only or unset variable (see the bash man page). For example, when the prune command is first called, it immediately unsets prune_discard and prune_output which were not set before. Also when invoking the script with argument "status" the QUIET variable is unset though it may not be set. The following patch, which works for me, replaces "unset VARIABLE" with "unset VARIABLE || true" so that unsetting variables which need not be set does not stop the script unwantedly. This may introduce problems when prune_output or prune_discard is read-only for some reason. Patch: --- /etc/init.d/hotplug~ Wed Feb 16 01:40:28 2005 +++ /etc/init.d/hotplug Thu Mar 17 18:20:49 2005 @@ -24,7 +24,7 @@ # $prune_output (the list with the elements removed) and $prune_discard # (the list of the elements discarded). prune() { - unset prune_output prune_discard + unset prune_output prune_discard || true local discard for x in $1; do @@ -55,7 +55,7 @@ # Append it to the new list, knowing that dependancies are satisfied. echo "$sorted_list $prune_discard" - unset prune_output prune_discard + unset prune_output prune_discard || true } quiet_printk() { @@ -132,7 +132,7 @@ ;; status) - unset QUIET + unset QUIET || true run_rcs $1 "Hotplug status" ;; Best wishes, Gabor Braun -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux gabor 2.6.9.20041228 #1 Tue Dec 28 17:03:16 CET 2004 i686 Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592 Versions of packages hotplug depends on: ii debconf 1.4.30.11 Debian configuration management sy ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep ii module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo ii modutils 2.4.26-1.2 Linux module utilities ii procps 1:3.2.1-2 The /proc file system utilities --------------------------------------- Received: (at 300113-close) by bugs.debian.org; 20 Mar 2005 14:42:12 +0000 >From [EMAIL PROTECTED] Sun Mar 20 06:42:12 2005 Return-path: <[EMAIL PROTECTED]> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DD1d6-0001oI-00; Sun, 20 Mar 2005 06:42:12 -0800 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1DD1TP-0008Pf-00; Sun, 20 Mar 2005 09:32:11 -0500 From: Marco d'Itri <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.55 $ Subject: Bug#300113: fixed in hotplug 0.0.20040329-20 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Sun, 20 Mar 2005 09:32:11 -0500 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (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_2005_01_02 X-Spam-Level: X-CrossAssassin-Score: 6 Source: hotplug Source-Version: 0.0.20040329-20 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-20.diff.gz to pool/main/h/hotplug/hotplug_0.0.20040329-20.diff.gz hotplug_0.0.20040329-20.dsc to pool/main/h/hotplug/hotplug_0.0.20040329-20.dsc hotplug_0.0.20040329-20_all.deb to pool/main/h/hotplug/hotplug_0.0.20040329-20_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 [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Marco d'Itri <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 20 Mar 2005 15:04:42 +0100 Source: hotplug Binary: hotplug Architecture: source all Version: 0.0.20040329-20 Distribution: unstable Urgency: medium Maintainer: Fumitoshi UKAI <[EMAIL PROTECTED]> Changed-By: Marco d'Itri <[EMAIL PROTECTED]> Description: hotplug - Linux Hotplug Scripts Closes: 272947 295738 296640 297226 297705 298353 299215 299946 300113 Changes: hotplug (0.0.20040329-20) unstable; urgency=medium . * Fixed postrm failure when removing already removed directories. (Closes: #297705) * Sort the modules in the debconf question, patch by Sean Finney. (Closes: #295738) * Added patch scsi.agent_cleanup implementing support for loading the sg driver and the blacklist check. (Closes: #272947) Also added a scsi.rc script, by Jeff Bailey of Ubuntu. * Added versioned dependencies on bash and sed. (Closes: #300113, #299946) * Removed patch pci_agent_removers, because $DEVPATH does not exist anymore after a device has been removed. (Closes: #298353) (Actually this was a patch to usb.agent.) * Consolidated the patches 010_load_drivers_module_name, 013_load_drivers_check_module_dup, 014_load_drivers_blacklist_dir and 052_module_name_for_blacklist in the new patch 010_functions_misc. This also fixes another -/_ mismatch in modules names. (Closes: #299215) * Removed patch 007_more_logging which has been merged in 015_load_drivers_mesg_format. * Added de4x5 and am53c974 to the blacklist. (See: #294867, #296199) * Modified postinst to add an example of the QUIET variable to /etc/default/hotplug if not present. (Closes: #297226) * Fixed an init script bug which made it ignore scripts not in $RC_ORDER. * Moved net.rc to a new init script hotplug-net run at S41. (Closes: #296640) * Removed the useless workaround introduced in -18. Files: e96913e4bad1b78d991bd32ba97aa1b9 668 admin standard hotplug_0.0.20040329-20.dsc d86d4092cd7a20e83ad019d19b5f459a 48963 admin standard hotplug_0.0.20040329-20.diff.gz b744d1521fc5a04aa19022084ac9f3d7 67594 admin standard hotplug_0.0.20040329-20_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCPYUDFGfw2OHuP7ERAmp5AJ9j2MR1XX5mUZCRz3clWtUmLROGNQCfT5WZ KT2Hmkr7AVqC7WiGKEwvEtI= =Huc6 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]