<div dir="ltr"><span style="font-size:12.8000001907349px">I was advised on IRC to post this issue here after trying IRC, forums, searches, man pages, wikis, etc.</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>During init, systemd asks for the passphrase of non-root LUKS drives when they are added to crypttab even though a keyfile is specified. The keyfile is the same one I'm using to open (old) truecrypt drives (also with crypttab) - those open fine and don't ask for the passphrase.</div><div><br></div><div>/etc/crypttab looks like this:</div><div><br></div><div>tcrypt_drive1    /dev/sdXY         /path/to/keyfile    tcrypt</div><div>tcrypt_drive2    /dev/sdYX         /path/to/keyfile    tcrypt</div><div>luks_drive1       UUID=$UUID    /path/to/keyfile</div><div>luks_drive2       UUID=$UUID    /path/to/keyfile</div><div><br></div><div>What I've tried so far, in no particular order:</div><div><br></div><div>- Checking that crypttab's formatting is correct</div><div>- Checking that keyfile has proper permissions</div><div>- Adding and/or removing the 'luks' flag to the luks drives in crypttab</div><div>- Specifying an entry in /etc/fstab for where the luks drives should be mounted</div><div>- Specifying an (identical) keyfile not being used by the tcrypt drives</div><div>- Removing the tcrypt drives from crypttab and leaving only the luks drives</div><div>- Using /dev/sdXY instead of UUID</div><div>- Reversing the order of the tcrypt and luks drives in crypttab</div><div>- Rebuilding initramfs</div><div>- Checking that crypttab was not present in initramfs</div><div><br></div><div>Note: LUKS drives open fine if passphrase is manually typed in when systemd prompts for it, as well as post-init when using cryptsetup and specifying the keyfile.</div><div><br></div></div><div style="font-size:12.8000001907349px">Input appreciated.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thank you,</div></div>