[systemd-devel] [PATCH] This patch solves the bug 52630 described here: https://bugs.freedesktop.org/show_bug.cgi?id=52630 .

Quentin Lefebvre qlefebvre_pro at yahoo.com
Mon Nov 24 06:31:09 PST 2014


On 24/11/2014 15:21, Zbigniew Jędrzejewski-Szmek wrote :
> On Wed, Nov 19, 2014 at 02:22:02PM +0100, Quentin Lefebvre wrote:
>>> For plain dm-crypt devices, the behavior of cryptsetup package is to ignore the hash algorithm when a key file is provided.
>>> With this patch, systemd-cryptsetup now behaves as cryptsetup, so that old plain dm-crypt devices created with cryptsetup can be mounted at boot time by systemd, with no modification of /etc/crypttab.
>
> As I said on the bug tracker, it seems wrong to ignore the hash
> if it is explicitly configured by the user.

Yes, I agree on that.

> I pushed a change to
> default to no hash if the keyfile is specified instead.

Thanks, I think it was the default choice for compatibility.

Best,
Quentin


More information about the systemd-devel mailing list