Bug 427065

Summary: Show an explanation when hibernating / suspending fails
Product: [Fedora] Fedora Reporter: Till Maas <opensource>
Component: gnome-power-managerAssignee: Richard Hughes <rhughes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: mclasen, opensource, triage
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-18 14:19:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Till Maas 2007-12-30 20:06:38 UTC
+++ This bug was initially created as a clone of Bug #357521 +++

Description of problem:

When, for some reason, hibernate fails, there are several partial failures to
rollback and revert a normal system environment.

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:

1. Take a laptop with at least 1GB of RAM, 2GB is better.
2. Install Fedora, a default Gnome desktop configuration, except manually
partition the hard drive to include a small swap partition, no more than 512MB.
Make sure to use a default grub configuration that uses a 10 second boot prompt
timeout.
3. Boot into the Gnome desktop. Open up a bunch of applications, load some large
documents into openoffice.org, run firefox and open something on slashdot at
comment level -1, etc..., use up all the RAM, far more than can be suspended to
swap.
4. Invoke Shut Down -> Hibernate.
5. The hibernate process starts running, then aborts, returning you to your
Gnome desktop.
  
Actual results:

In step 5, you eventually get kicked back to the Gnome desktop, with no further
explanation of any kind.

Expected results:

In step 5, I would expect to see at least have some kind of a generic error
dialog pop up and complain about a hibernation failure. pm-hibernate should not
just fail and have you go back to the Gnome desktop with no explanation whatsoever.

Additional info:

1. There should be some kind of feedback to the user, when pm-hibernate fails.

Comment 1 Bug Zapper 2008-05-14 15:13:11 UTC
This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists.

Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs:
http://docs.fedoraproject.org/release-notes/

The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Bug Zapper 2008-06-17 02:58:27 UTC
Fedora 7 changed to end-of-life (EOL) status on June 13, 2008. 
Fedora 7 is no longer maintained, which means that it will not 
receive any further security or bug fix updates. As a result we 
are closing this bug. 

If you can reproduce this bug against a currently maintained version 
of Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 Richard Hughes 2008-08-06 06:15:23 UTC
Does pm-utils now catch this?

Comment 4 Till Maas 2008-08-08 10:24:25 UTC
(In reply to comment #3)
> Does pm-utils now catch this?

What should pm-utils do here? I do not think that this issue can be resolved by changing pm-utils somehow.

Comment 5 Bug Zapper 2008-11-26 02:04:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Richard Hughes 2009-08-20 11:40:33 UTC
We should get much better reports from rawhide -- can you confirm the failure message is okay now?

Comment 7 Bug Zapper 2009-11-16 08:00:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Richard Hughes 2009-11-18 14:19:07 UTC
commit d494537514627a64bf997126dc3f03fe64bb9390
Author: Richard Hughes <richard>
Date:   Wed Nov 18 14:18:02 2009 +0000

    Show the sleep failure as a modal dialog box. Fixes rh#427065