nlplug-findfs doesn't find luks on lvm devices
Booting fails if kernel parameter cryptroot=/dev/somevg/somelv isn’t set to /dev/dm-0
% ls -l /dev/somevg/somelv
lrwxrwxrwx 1 root root 21 Oct 31 03:52 somelv -> /dev/mapper/somevg-somelv
% ls -l /dev/mapper/somevg-somelv
brw------- 1 root root 253, 0 Oct 31 03:52 /dev/mapper/somevg-somelv
% ls -l /dev/dm-0
brw-rw---- 1 root disk 253, 0 Oct 31 03:53 /dev/dm-0
All those devices are the same, but only the following works as expected:
nlplug-findfs -c /dev/dm-0 UUID=ae5dc0c5-0455-423c-9980-b6196ab76487
(from redmine: issue id 4863, created on 2015-11-13, closed on 2017-05-17)
- Changesets:
- Revision b75724ce by Natanael Copa on 2015-11-25T12:40:47Z:
main/mkinitfs: fix cryptsetup on lvm
fixes #4863