Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165822 - sys-apps/hal-0.5.7.1-r4 typo in hibernate script
Summary: sys-apps/hal-0.5.7.1-r4 typo in hibernate script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 167725 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-07 20:47 UTC by Jose Marino
Modified: 2007-02-20 09:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***