]> 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)
committerFabian Vogt <fvogt@suse.de>
Wed, 12 Jul 2023 13:51:26 +0000 (15:51 +0200)
commit93ba7961779789217a1f814ce3110ff8c040c8c3
tree164d4152f592919c06743feb80a9dc7eeb05fe88
parent0fc338b0360a2479cc4144aba481aae1aa240c3c
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.
libblkid/src/superblocks/superblocks.c