Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165822

Summary: sys-apps/hal-0.5.7.1-r4 typo in hibernate script
Product: Gentoo Linux Reporter: Jose Marino <braket>
Component: [OLD] Core systemAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: normal CC: geroxp
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jose Marino 2007-02-07 20:47:06 UTC
There's a typo in script /usr/share/hal/scripts/hal-system-power-hibernate that causes hald to die after resume from hibernation.


Reproducible: Always




Patch to fix typo

--- hal-system-power-hibernate.orig     2007-02-07 13:25:54.000000000 -0700
+++ hal-system-power-hibernate  2007-02-07 13:41:15.000000000 -0700
@@ -55,7 +55,7 @@
 
 # Refresh devices when resuming from a hibernate
 for type in button battery ac_adapter ; do
-   devices=$(hal-find-by-capbility --capability $type)
+   devices=$(hal-find-by-capability --capability $type)
    for device in $devices ; do
       dbus-send --system --print-reply --dest=org.freedesktop.Hal $device \
                 org.freedesktop.Hal.Device.Rescan
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-07 20:49:32 UTC

*** This bug has been marked as a duplicate of bug 141694 ***
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2007-02-08 00:09:16 UTC
confirmed.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-08 04:49:12 UTC
(In reply to comment #2)
> confirmed.

Confirmed what? :) 

Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-02-13 03:16:25 UTC
Fixed in -r5. Thanks.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-20 09:42:24 UTC
*** Bug 167725 has been marked as a duplicate of this bug. ***