The udev rules of lvm2/lvm2-2.02.48-r1 do use no longer existing /sbin/vol_id. As of udev-145 one needs to switch over to /sbin/blkid provided by util-linux-2.16. How should this change by made? Should the rule be changed and a block against older udev added? Or should the rule file be installed by sys-fs/udev itself?
This explains an issue I was having: my root filesystem is on lvm2. The last initrd I built for vanilla-sources 2.26.30 used lvm2-2.02.45-r2 and that worked. When I just tried building 2.26.30.3 with an initrd using lvm2-2.02.49 it couldn't find the volume group. Downgrading lvm2 to 2.02.45-r2 fixed this issue.
(In reply to comment #1) > This explains an issue I was having: my root filesystem is on lvm2. The last > initrd I built for vanilla-sources 2.26.30 used lvm2-2.02.45-r2 and that > worked. When I just tried building 2.26.30.3 with an initrd using lvm2-2.02.49 > it couldn't find the volume group. Downgrading lvm2 to 2.02.45-r2 fixed this > issue. > This Bug is about stuff not yet in ~arch. This bug happens when using udev-142 or newer, and only lead to missing links under /dev/disk/. You most likely you found Bug #276753. There genkernel falls back to using an old lvm2 version that is not compatible to kernel 2.6.30.
(In reply to comment #2) > You most likely you found Bug #276753. > There genkernel falls back to using an old lvm2 version that is not compatible > to kernel 2.6.30. Indeed. Thanks for the link.
Created attachment 199356 [details] udev device mapper rules file using blkid instead of vol_id
Created attachment 199380 [details] updated udev rules Updated the rules to match upstream rules more (as far as possible).
Ok, now one question. What's the EARLIEST version of blkid that provides "-o udev"?
The earliest version of blkid supporting -o udev, is provided by sys-apps/util-linux-2.16 in our tree.
InCVS.