Public bug reported:

On Jaunty, the /usr/share/initramfs-tools/hooks/dmsetup script from
dmsetup 1.02.27-4ubuntu1 fails to install
/etc/udev/rules.d/65-dmsetup.rules correctly in the initramfs: it
creates a file named /etc/udev/rules.d. I suspect this is caused by the
moving of /etc/udev/rules.d to /lib/udev/rules.d made by udev 136-1.

This also prevents other hooks (like /usr/share/initramfs-
tools/hooks/mdadm) from installing their rules causing the latter to
fail (for example, I noticed this bug because a system using mdadm's
software RAID failed to boot).

The fix is as simple as adding "mkdir -p ${DESTDIR}/etc/udev/rules.d" to
/usr/share/initramfs-tools/hooks/dmsetup, like I have done on my system
to get it booting smoothly again.

** Affects: devmapper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
initramfs-tools hook script messes up /etc/udev/rules.d
https://bugs.launchpad.net/bugs/315409
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to