*** This bug is a duplicate of bug 320208 ***
    https://bugs.launchpad.net/bugs/320208

Public bug reported:

Binary package hint: gnome-session

Scenario:-

System has no swap space at all. This could be because:-

* System admin decided that as the system has lots of memory, no swap is needed
* System admin decided that as the system is on SSD/Flash, swap would be 
sub-optimal
* Swap is unavailable due to other technical reasons

User understands that hibernating saves power, so attempts to hibernate
the system. User goes to System -> Quit, and notes 'hibernate' is an
option, so chooses it.

Screen goes black (console) some time passes, and a message appears that
'unable to swap, no swap partition found' suggesting the user issues
'swapon -a'. This is not useful given the system has already initiated
the hibernate process. Further around a minute passes and more console
messages appear including 'BUG: soft lockup - CPU#0 stuck for 61s!
[compiz.real:3980]. System hangs with repeated similar messages.

User has to hit the power or reset button to restart the machine. Any
data they had was lost.

It's my opinion that the "Hibernate" option should _not_ appear when
there is no swap available. It leads the user into a false sense of
security that Hibernate is a possible option, when it clearly isn't.

ProblemType: Bug
Architecture: amd64
Date: Sun Aug 16 20:15:59 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: gnome-session 2.27.5-0ubuntu2
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
SourcePackage: gnome-session
Uname: Linux 2.6.31-5-generic x86_64

** Affects: gnome-session (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug

-- 
Don't offer hibernate as an option when there's no swap
https://bugs.launchpad.net/bugs/414529
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to