Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the multipath + LUKS case, `get_luks_uuid()` would incorrectly skip over the multipath partition containing the LUKS header because `is_dm_device()` returned true. The code eventually errors out when it gets to the disks backing the multipath device. The `is_dm_device()` check was added as part of 69b706d ("rootmap: handle filesystems with LUKS integrity") to correctly handle the LUKS integrity case in the Secure Execution path. There, the device right under the LUKS device is another crypt device mapper device used for integrity that we need to skip over. Instead of generically checking for a device mapper target, check specifically that it's a LUKS integrity target before deciding to skip. Part of: coreos/fedora-coreos-tracker#1728 Co-authored-by: Aashish Radhakrishnan <aaradhak@redhat.com> Co-authored-by: Gursewak Mangat <gursmangat@gmail.com> Co-authored-by: Michael Nguyen <mnguyen@redhat.com> Co-authored-by: Steven Presti <spresti@redhat.com>
- Loading branch information