Wrong directory for udev rules with dracut dm module and device-mapper-udev
Hi there,
I'm trying to get dracut working with an encrypted root, which required the dm module. This module is supposed to install some udev rules (such as 13-dm-disk.rules). Those rules are installed under /usr/lib/udev/rules.d/, however the dracut 'dm' module looks for udev rules under /lib/udev/rules.d and does not fail when some required rules aren't installed.
I got my issue fixed by symlinking the rules in /usr/lib/udev/rules.d/ to /lib/udev/rules.d/.
Two solutions are possible:
- 'device-mapper-udev' should install the libraries under /lib/udev/rules.d/
- dracut should also look for udev rules under /usr/lib/udev/rules.d/
Thank you for your work! Xil