Comment 7 for bug 12558

Revision history for this message
Paulus (donmatteo) wrote :

I can reproduce this exactly as described by Frido on hoary final. Suspending hangs if lo was brought down before. The
following one-line patch for /etc/acpi/prepare.sh fixes suspending in hoary for me:

--- /etc/acpi/prepare.sh 2005-04-01 14:37:46.000000000 +0200
+++ prepare.sh 2005-06-04 01:00:18.078620840 +0200
@@ -4,7 +4,7 @@
 touch /var/lock/acpid

 # Find the currently running network interfaces...
-INTERFACES=`/sbin/ifconfig | awk '/^[^ ]+/ {print $1}'`
+INTERFACES=`/sbin/ifconfig | grep -v '^lo' | awk '/^[^ ]+/ {print $1}'`

 # And shut them down
 for x in $INTERFACES; do