[Bug 1313522] Re: There is hibernate option even without an active swap partition
Yu Ning
ning.yu at canonical.com
Thu May 8 04:03:36 UTC 2014
Thank you Martin for your patch.
I verified it as comment #8 suggested, after upgrading systemd to 204-5ubuntu20.1 on trusty:
a) with swap partition enabled, there is the "hibernate" option in the menu, click it can enter S4 successfully.
b) with swap partition disabled, there is no "hibernate" option in the menu.
c) with swap file enabled, there is the "hibernate" option in the menu, click it can enter S4 successfully.
So, everything just works as expect, I'll change the tag from
verification-needed to verification-done.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1313522
Title:
There is hibernate option even without an active swap partition
Status in OEM Priority Project:
New
Status in “systemd” package in Ubuntu:
Fix Committed
Status in “systemd” source package in Trusty:
Fix Committed
Status in “systemd” source package in Utopic:
Fix Committed
Bug description:
In Ubuntu 13.10 and 14.04 the "hibernate" option will always be
displayed in the system dropdown menu, even if there is no active swap
partition. Click the hibernate option will perform the hibernate
operation but will fail during the process.
As a contrast, in Ubuntu 13.04 and earlier releases the "hibernate"
option is visible only if there is active swap partition.
FIX: http://anonscm.debian.org/gitweb/?p=pkg-
systemd/systemd.git;a=commitdiff;h=2ecac75111a (backported from
upstream)
[Impact]
With the backported patch when there is no active swap partition
"hibernate" will not be displayed in the system dropdown menu.
[Test Case]
1. Install Ubuntu 14.04 image, do not create swap partition during installation
2. Login to desktop
3. Click the system icon on the top right of the screen
4. Check if there is "hibernate" option in the dropdown menu
Expected result:
The "hibernate" option should not be visible
Actual result:
There is the "hibernate" option, click on it will perform the hibernation operation, but will fail during the procedure.
[Regression Potential]
N/A
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1313522/+subscriptions
More information about the foundations-bugs
mailing list