Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161131 - sys-apps/hal-0.5.7.1-r2 problem in hal-system-power-hibernate file, suspend instead of hibernate
Summary: sys-apps/hal-0.5.7.1-r2 problem in hal-system-power-hibernate file, suspend i...
Status: RESOLVED DUPLICATE of bug 133743
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 14:22 UTC by Laurento Frittella (mrfree)
Modified: 2007-01-10 09:03 UTC (History)
0 users

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 Laurento Frittella (mrfree) 2007-01-09 14:22:42 UTC
I noticed the new script /usr/share/hal/scripts/hal-system-power-hibernate in sys-apps/hal-0.5.7.1-r2 contains:

[...]
elif [ -x "/usr/sbin/hibernate-ram" ] ; then
  /usr/sbin/hibernate-ram
  RET=$?
[...]

Hey but this is the hibernate script not the suspend :)

The same lines are used correctly in the hal-system-power-suspend, but I think we need to drop them from the hibernate script (in the same file hibernate-ram and hibernate are used)
For example, with the actual version, if I try to hibernate the system from the gnome-power-manager my pc going to suspend.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-09 18:40:25 UTC

*** This bug has been marked as a duplicate of bug 133743 ***
Comment 2 Laurento Frittella (mrfree) 2007-01-10 08:27:09 UTC
Mhhh... I think this bug is not a duplicate of 133743 because here we are talking about *removing* hibernate-ram from "hal-system-power-hibernate" in the other bug they are talking about *adding* hibernate-ram to "hal-system-power-suspend"

Using 2 words: "hibernate-ram was wrongly added to hal-system-power-hibernate" :)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 08:52:30 UTC
IOW, the script is broken; fix it in one bug, no need for multiple bugs for this. Thanks.

*** This bug has been marked as a duplicate of bug 133743 ***
Comment 4 Laurento Frittella (mrfree) 2007-01-10 09:03:27 UTC
(In reply to comment #3)
> IOW, the script is broken; fix it in one bug, no need for multiple bugs for
> this. Thanks.
Ok gotcha! :)