[systemd-devel] systemd prompts for luks key, ?but keyfile provided in crypttab

Lennart Poettering lennart at poettering.net
Fri Jul 24 09:34:28 PDT 2015


On Fri, 24.07.15 06:45, Jan (medhefgo at web.de) wrote:

> My best guess is the different handling of the keyfile itself. Afaik,
> systemd-cryptsetup will use the full keyfile to open. That includes any
> trailing new line. Depending on how you use cryptsetup, it will handle they
> keyfile differently (see "Notes on Password Processing" in cryptsetup(8)).
> You should try removing any trailing new lines from the keyfile.

Are yous suggesting systemd is not compatible with upstream cryptsetup
on this? That sounds like something to fix, no?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list