Bug#945208: "No such file or directory" when attempting to decrypt LUKS during init

Amit Agnani amitagnani at protonmail.com
Thu Nov 21 15:48:44 GMT 2019


Issue has been resolved.

During init, systemd-cryptsetup uses libcryptsetup to perform the actual
unlocking of the LUKS partition.

libcryptsetup itself requires a few kernel modules to work, or else it
fails with -ENOENT, which, through systemd's use of error no -> error
message, turns into a generic "No such file or directory" message.

Effectively, the message is bogus with reference to the keyfile, where
it actually referred to the missing kernel modules.

The missing kernel modules were "af_alg" and "algif_skcipher".



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20191121/22b31efc/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list