RE: Encrypted swap with cryptsetup won't mount at startup
> From: somebody.mozfr@gmail.com
> Date: Mon, 10 Aug 2015 14:07:11 +0200
>
> Hi,
>
> I'm trying to encrypt my swap partition, /dev/sda7. [..]
>
> At boot, it seems like systemd tries to mount /dev/sda7 as a non
> encrypted swap partition, and fails. Then it tries to mount cryptswap1
> following my crypttab. I have to wait 1 min 30, and then I get a message
> "Job dev-mapper-cryptswap1.device/start timed out.".
Use sysvinit. Last I checked, systemd has no support for keyscripts,
and no documented workaround. On one of my machines I've gotten this
(kinda) working by removing the systemd generator and manually creating
a service file around cryptdisks_start and cryptdisks_stop.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618862
Regards,
Arno
Reply to: