Red Hat Bugzilla – Bug 530913
Couldn't hibernate: Swap space is encrypted
Last modified: 2009-10-29 07:16:42 EDT
Description of problem:
Hibernate used to work on my machine. But now after todays yum update I get
Oct 26 02:14:26 localhost gnome-session: devkit-power-gobject-WARNING: Couldn't hibernate: Swap space is encrypted
Oct 26 02:14:26 localhost gnome-session: WARNING: Unexpected hibernate failure: Swap space is encrypted
But I am pretty sure that my swap space is _not_ encrypted:
[root@localhost ~]# cat /proc/swaps
Filename Type Size Used Priority
/dev/mapper/VolGroup00-LogVol01 partition 1966072 0 -1
[root@localhost ~]# blkid |grep swap
[root@localhost ~]# grep swap /etc/fstab
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
I assume it was caused by my upgrade to DeviceKit-power-012-1.fc12.i686
* Mon Oct 19 2009 Richard Hughes <email@example.com> - 012-1
- Update to 012
- Detect encrypted swap and prevent hibernate in this case.
- When we do a delayed refresh, actually do 5 x 1 second apart rather
than 1 x 3 seconds which should fix some slow battery devices.
(but other packages - such as the kernel - was updated at the same time, so I'm not 100% sure)
Version-Release number of selected component (if applicable):
Well, _is_ your swap space encrypted ?
I have not intentionally made the swap space encrypted. How can I prove that it isn't?
I assume that encrypted swap space requires /etc/crypttab to configure a dm device in /dev/mapper which should be used as swap device? I have no /etc/crypttab and as you can see I use /dev/mapper/VolGroup00-LogVol01 directly.
I don't know. It might well be that DK-power is getting it wrong and thinks your swap is encrypted, even though it is not.
I'll ask Richard to look into this when he's back
*** Bug 531226 has been marked as a duplicate of this bug. ***
Looks like it is not an isolated incident, putting on F12Blocker just in case
*** Bug 531497 has been marked as a duplicate of this bug. ***
Fixed in DeviceKit-power-012-2.fc12
DeviceKit-power-012-2.fc12 works for me - thanks!