hotplug: unclean shutdown prevents network from coming up on next boot

Bug #6801 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 #249542
http://bugs.debian.org/249542

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

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

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

Message-ID: <email address hidden>
Date: Mon, 17 May 2004 21:42:45 -0300
From: Peter Cordes <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Cc: Thomas Hood <email address hidden>
Subject: hotplug: unclean shutdown prevents network from coming up on next boot

Package: hotplug
Version: 0.0.20040329-8
Severity: critical
Justification: breaks the whole system

 I hope I'm not over-stating the severity of this bug, but a machine in a
co-location facility that doesn't come up after a reboot is a Big Problem.
(no, that didn't actually happen to me.)

 After installing Sarge on some new hardware, I did something that made the
machine power off without doing a shutdown(8). When I booted up again, lo
and eth1 weren't configured. (eth0 isn't either, but it's not supposed to
be. don't ask.) One of the boot messages was
ifup: interface lo already configured. But of course it wasn't, as an
ifconfig -a showed. A clean reboot after that cured the problem. (of
course, so did /etc/init.d/networking restart, but newbies who just
installed Sarge won't know that.)

 While digging into this, I found bugs 244617 and 245067 which shed some
light on the situation. I've read them, and I haven't thought of anything
brilliant that would solve things either. :( However, it needs to be
stressed that this can and does cause real problems for real systems. Most
machines in co-location facilities don't _need_ hotplug, but
debian-installer installs it by default. Admins would have to remove it to
make sure they don't lose access after a power outage longer than their UPS
can handle. Besides that, it's often nice to be able to ssh into remote
machines that have come back up after a crash. e.g. a desktop machine at
work while you're at home. Anyway, I hope this is enough reason to make a
critical bug report. I don't think sarge should ship with a default install
that doesn't come up after a crash.

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

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/usb_keyboard:
  hotplug/static_module_list:
  hotplug/x11_usbmice_hack: false

Revision history for this message
In , Marco d'Itri (md) wrote : tagging 248433, tagging 244615, tagging 244617, tagging 244954, tagging 249542, tagging 249170

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 248433 wontfix
tags 244615 pending
tags 244617 pending
tags 244954 pending
tags 249542 pending
tags 249170 pending

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

Message-Id: <email address hidden>
Date: Sat, 26 Jun 2004 01:10:48 +0200
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: tagging 248433, tagging 244615, tagging 244617, tagging 244954,
 tagging 249542, tagging 249170

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 248433 wontfix
tags 244615 pending
tags 244617 pending
tags 244954 pending
tags 249542 pending
tags 249170 pending

Revision history for this message
In , Marco d'Itri (md) wrote : Bug#249542: 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
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#249542: 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
Matt Zimmerman (mdz) wrote :

This bug was fixed in Debian hotplug 0.0.20040329-9; Warty has -10 and therefore
includes the fix already

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

Fixed in Debian in 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.