DM library expects a device be called either by target name or by full device node path name. But LILO uses just name of device node after recursive symlink resolution. That accidentally works on old lvm2/udev layout (/dev/mapper/target nodes), but fails on the latest layout (/dev/dm-N nodes). Reproducible: Always Steps to Reproduce:
Created attachment 234587 [details, diff] Use just path to device. This patch removes wrong algorithm and lets LILO to name devices by full path either directly to device node or to symlink. Both cases are OK to latest DM. I didn't check if this is compatible with older DM.
Hi Constantine, where is this patch from? Does upstream know about it? Michael
(In reply to comment #2) > where is this patch from? Does upstream know about it? I've created this patch yesterday. I don't know where the upstream is, lilo's homepage is dead. I posted the patch only here.
Don't do that. Single issue, single bug. There is an existing bug for that other issue.
It seems that bug is fixed in lilo-23.0.
(In reply to Constantin Baranov from comment #5) > It seems that bug is fixed in lilo-23.0. Closing then because 23.2 is marked stable.