hotplug: Post-installation script fails

Bug #6791 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
hotplug (Debian)
Fix Released
Unknown
hotplug (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #248836
http://bugs.debian.org/248836

Revision history for this message
In , Adrian Bunk (bunk-fs) wrote : failed installation is RC, bug is not specific to sarge

severity 248836 grave
tags 248836 - sarge

Revision history for this message
In , Marco d'Itri (md) wrote : tagging 248836, tagging 246765

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 248836 pending
tags 246765 pending

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #248836
http://bugs.debian.org/248836

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 13 May 2004 13:06:20 +0200
From: Ulrich Klauer <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: hotplug: Post-installation script fails

Package: hotplug
Version: 0.0.20040329-8
Severity: important
Tags: sarge

Configuring the hotplug package yields the following error:

# dpkg --pending --configure
Setting up hotplug (0.0.20040329-8) ...
sed: -e expression #3, char 57: Unknown option to `s'
dpkg: error processing hotplug (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 hotplug

This is apparently caused by line 30 of the post-installation script:
-e 's/^STATIC_MODULE_LIST=.*/STATIC_MODULE_LIST="'"$STATIC_MODULE_LIST"'"/'
$STATIC_MODULE_LIST contains a slash, which fools sed into thinking that
the substitution command ends there. It should be easily corrected by
replacing the slashes in the substitution with some other character.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8

Versions of packages hotplug depends on:
ii debconf 1.4.25 Debian configuration management sy
ii modutils 2.4.26-1 Linux module utilities
ii procps 1:3.2.1-2 The /proc file system utilities

-- debconf information:
* hotplug/ignore_pci_class_display: true
* hotplug/net_agent_policy: hotplug
* hotplug/usbd_enable: true
* hotplug/usb_keyboard:
* hotplug/static_module_list: usbdnet, */*
  hotplug/x11_usbmice_hack: false

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 31 May 2004 15:13:28 +0200
From: Adrian Bunk <email address hidden>
To: <email address hidden>
Subject: failed installation is RC, bug is not specific to sarge

severity 248836 grave
tags 248836 - sarge

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 5 Jun 2004 16:56:17 +0200
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: tagging 248836, tagging 246765

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 248836 pending
tags 246765 pending

Revision history for this message
In , Marco d'Itri (md) wrote : Bug#248836: fixed in hotplug 0.0.20040329-9
Download full text (3.2 KiB)

Source: hotplug
Source-Version: 0.0.20040329-9

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-9.diff.gz
  to pool/main/h/hotplug/hotplug_0.0.20040329-9.diff.gz
hotplug_0.0.20040329-9.dsc
  to pool/main/h/hotplug/hotplug_0.0.20040329-9.dsc
hotplug_0.0.20040329-9_all.deb
  to pool/main/h/hotplug/hotplug_0.0.20040329-9_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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 26 Jun 2004 15:04:09 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-9
Distribution: unstable
Urgency: medium
Maintainer: Fumitoshi UKAI <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
 hotplug - Linux Hotplug Scripts
Closes: 242012 243117 243702 244337 244510 244615 244617 244954 245100 246074 246765 246911 247658 247972 248836 249170 249457 249542 249600 250513
Changes:
 hotplug (0.0.20040329-9) unstable; urgency=medium
 .
   * Added support for boot time synthesis of isapnp events.
   * patches/blacklist: added usbmouse and usbkbd. closes: Bug#242012
   * patches/blacklist: added all watchdog drivers. closes: Bug#249600
   * hotplug.postinst: do not fail when $STATIC_MODULE_LIST contains a slash.
     closes: #248836
   * Conflict with alsa-base << 1.0.4-2, which blacklists OSS drivers.
     closes: #246765
   * patches/hotplug.functions_typo: fix a typo. closes: #246911
   * New/updated debconf translations: ru, tr, de, ja.
     closes: #250513, #246074, #244510, #244337
   * Search for firmwares in /lib/firmware/ too, to allow firmware loading
     before /usr has been mounted. closes: #245100
   * patches/pci_agent_direct: in pci.rc, call pci.agent instead of
     /sbin/hotplug. closes: #243117
   * patches/050_net.agent_ifupdown updated with new code from Thomas Hood
     to fix many issues in network interfaces handling.
     closes: #244615, #244617, #244954, #249542, #249170
   * Rearranged the messages printed by the init script in the hope they
     will be less confusing. closes: #247658, #247972, #249457
   * patches/012_usb.rc_no_usbmodules: do not depend on the usbmodules
     program when using 2.6 kernels. closes: #243702
Files:
 5b4ff2afa391433a079f26f7d6435202 671 admin standard hotplug_0.0.20040329-9.dsc
 b76173f287d63e9e15a7c28f2cd1a0f9 38521 admin standard hotplug_0.0.20040329-9.diff.gz
 8a9d932c0d1e08bc66d5ceb08a81d9f1 59256 admin standard hotplug_0.0.20040329-9_all.deb

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

iD8DBQFA3bPjFGfw2OHuP7ERAh4EAJ4ugP9KlSt6pWV7IyfHcK76cU...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug was fixed in Debian hotplug version 0.0.20040329-9. Warty has hotplug
0.0.20040329-10.

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.4 KiB)

Message-Id: <email address hidden>
Date: Sat, 26 Jun 2004 13:47:04 -0400
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: Bug#248836: fixed in hotplug 0.0.20040329-9

Source: hotplug
Source-Version: 0.0.20040329-9

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-9.diff.gz
  to pool/main/h/hotplug/hotplug_0.0.20040329-9.diff.gz
hotplug_0.0.20040329-9.dsc
  to pool/main/h/hotplug/hotplug_0.0.20040329-9.dsc
hotplug_0.0.20040329-9_all.deb
  to pool/main/h/hotplug/hotplug_0.0.20040329-9_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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 26 Jun 2004 15:04:09 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-9
Distribution: unstable
Urgency: medium
Maintainer: Fumitoshi UKAI <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
 hotplug - Linux Hotplug Scripts
Closes: 242012 243117 243702 244337 244510 244615 244617 244954 245100 246074 246765 246911 247658 247972 248836 249170 249457 249542 249600 250513
Changes:
 hotplug (0.0.20040329-9) unstable; urgency=medium
 .
   * Added support for boot time synthesis of isapnp events.
   * patches/blacklist: added usbmouse and usbkbd. closes: Bug#242012
   * patches/blacklist: added all watchdog drivers. closes: Bug#249600
   * hotplug.postinst: do not fail when $STATIC_MODULE_LIST contains a slash.
     closes: #248836
   * Conflict with alsa-base << 1.0.4-2, which blacklists OSS drivers.
     closes: #246765
   * patches/hotplug.functions_typo: fix a typo. closes: #246911
   * New/updated debconf translations: ru, tr, de, ja.
     closes: #250513, #246074, #244510, #244337
   * Search for firmwares in /lib/firmware/ too, to allow firmware loading
     before /usr has been mounted. closes: #245100
   * patches/pci_agent_direct: in pci.rc, call pci.agent instead of
     /sbin/hotplug. closes: #243117
   * patches/050_net.agent_ifupdown updated with new code from Thomas Hood
     to fix many issues in network interfaces handling.
     closes: #244615, #244617, #244954, #249542, #249170
   * Rearranged the messages printed by the init script in the hope they
     will be less confusing. closes: #247658, #247972, #249457
   * patches/012_usb.rc_no_usbmodules: do not depend on the usbmodules
     program when using 2.6 kernels. closes: #243702
Files:
 5b4ff2afa391433a079f26f7d6435202 671 admin standard hotplug_0.0.20040329-9.dsc
 b76173f287d63e9e15a7c28f2cd1a0f9 38521 admin standard hotplug_0.0.20040329-9.diff....

Read more...

Revision history for this message
Daniel Robitaille (robitaille) wrote :

Fixed in Debian in June 2004

Changed in hotplug:
status: Unconfirmed → Fix Released
Changed in hotplug:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.