]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Revert "libblkid: try LUKS2 first when probing"
authorFabian Vogt <fvogt@suse.de>
Wed, 12 Jul 2023 13:48:27 +0000 (15:48 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Mar 2024 14:24:37 +0000 (15:24 +0100)
commit4c5e1c9d17d9c42c0bdbc134dbd49f56bbb8fe3c
tree6a53738eb0eb9d9ecfc089a88ee4781423427cee
parentd59697b754586bd36cf7397d45851c359b578472
Revert "libblkid: try LUKS2 first when probing"

mdadm superblocks before 1.1 are placed at the end of the device, which
means that the data contained inside the array starts at offset 0. For
LUKS inside MD, blkid falsely detects this as plain LUKS instead of a
linux_raid_member. This causes e.g. dracut to not assemble the array
during boot and system startup fails.

This reverts commit b8889c0a214aeb3dd47bf1ab280fe5534b64d2aa.

(cherry picked from commit 93ba7961779789217a1f814ce3110ff8c040c8c3)
libblkid/src/superblocks/superblocks.c