Results 1 to 7 of 7

Thread: Resuming from hibernate with encrypted home and swap

  1. #1
    Join Date
    Aug 2008
    Beans
    10
    Distro
    Ubuntu

    Resuming from hibernate with encrypted home and swap

    Hi,

    After reading lots of threads I think I've realized that encrypting my home directory makes resuming from hibernate impossible. Is this considered a bug or is it just a fact with no solution to be expected?
    (This concerns my Ubuntu 11.10 installation.)

    Regards
    Iceman71
    Last edited by Iceman71; December 31st, 2011 at 11:22 PM.

  2. #2
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,281
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Resuming from hibernate with encrypted home and swap

    It is just a fact.

    When you hibernate, the state of the machine is saved to swap. As swap is (correctly) encrypted, it makes it impossible to read it in order to resume.

    There may be a way in future to allow it to resume by entering your password to allow the swap to be read, but that would require further development.
    Full Circle Magazine :: Cheap Linux stickers :: Problems with WINE?
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  3. #3
    Join Date
    Jul 2011
    Beans
    3,037
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Resuming from hibernate with encrypted home and swap

    This has nothing to do with Ubuntu and is, as far as I know, the expected behaviour on every Linux distribution.

  4. #4
    Join Date
    Aug 2006
    Beans
    26

    Re: Resuming from hibernate with encrypted home and swap

    Of course it is a bug. We can debate and try to understand where the problem lies, but as long as Ubuntu wants to be an easy to understand OS, it should either ask for the password on the wake-up or not offer the hibernate option in the menu at all.

  5. #5
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,281
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Resuming from hibernate with encrypted home and swap

    Quote Originally Posted by Homie Bongo View Post
    Of course it is a bug.
    You have a point. Perhaps you can raise a bug?

    Quote Originally Posted by Homie Bongo View Post
    ... it should either ask for the password on the wake-up or not offer the hibernate option in the menu at all.
    Good point. Disable the hibernate option when the swap is encrypted, until such time as the Linux people have figured out a solution. I have raised a Brainstorm for hibernation and encryption; if it is approved, add your votes for or against, or add your own solution.
    Full Circle Magazine :: Cheap Linux stickers :: Problems with WINE?
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  6. #6
    Join Date
    Aug 2008
    Beans
    10
    Distro
    Ubuntu

    Re: Resuming from hibernate with encrypted home and swap

    Hi,

    Well, I would definitely have preferred the "pointsec approach" to the problem where I have to use two passwords to resume after hibernate (pointsec and windows/linux pwd). As I'm a big fan of the hibernate feature, I really hope that the Linux experts change this so that hibernate can be used on installations with encrypted home directories in the near future.

    I think there is a lack of understanding on this topic, as there are many threads in different forums discussing these problems and whether or not a workaround is compatible with their respective hardware. It may very well be this problem that is the reason for users having different experience from the workarounds suggested and not the specific hardware.

    Thanks and regards!
    Iceman71

  7. #7
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,281
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Resuming from hibernate with encrypted home and swap

    I have written a how-to for hibernation with encryption. I hope it helps.
    Full Circle Magazine :: Cheap Linux stickers :: Problems with WINE?
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •