You are not logged in.

#1 2018-02-04 06:40:23

pinusc
Member
Registered: 2015-10-13
Posts: 3

dm-crypt and systemctl suspend on multi-partition system

I'm trying to more finely configure my encryption setup for suspend/hibernate.
I currently have three encrypted partitions: root (/dev/mapper/cryptroot), data (/dev/mapper/cryptdata) and swap (/dev/mapper/cryptswap). I hiberante using systemd, and I correctly configured the hibernation to RAM, that is decrypted through a keyfile saved in the root partition. When I wake the laptop up, I am prompted for the cryptroot password, that would unlock root and swap. No problems, it works until here.
However, I am not prompted for the cryptdata password, but once I login again, the partition is unlocked. I believe this means that the partition was kept ulocked and unencrypted during hibernation.
How do I configure systemd to lock my cryptdata partition on hibernate?

Offline

Board footer

Powered by FluxBB