Comment 21 for bug 423608

Revision history for this message
In , Jan-i (jan-i) wrote :

+ /* encrypted swap? */
+ if (!daemon->priv->hibernate_has_encrypted_swap) {
+ error = g_error_new (DKP_DAEMON_ERROR,
+ DKP_DAEMON_ERROR_GENERAL,
+ "Swap space is encrypted");
+ g_error_free (error_local);
+ dbus_g_method_return_error (context, error);
+ goto out;
+ }
+

The check is wrong. hibernate_has_encrypted_swap is TRUE when swap is encrypted, FALSE otherwise. That's what is causing the error from comment 12.