Comment 5 for bug 1451032

Revision history for this message
GOo (goo) wrote :

I have three luks partitions in /etc/crypttab ( /, /home/, /var) all of them with a keyscript definition.
Systemd doesn't unlock /var and /home, whereas the root partition gets unlocked without problems, so it doesn't seem that the keyscript definition is not implemented.
I set up a workaround by enabling a second key slot for /var and /home filled with a standard passphrase.
Actually systemd asks for the passphrase only once and uses the same entered passphrase for both partitions.

Results:
/ is normally unlocked by calling its associated keyscript.
/var and /home are unloked with a standard passphrase (the same for both partitions).