** Description changed: - the initramfs-tools hook should copy the administrator udev rule - override, if it is available. + [IMPACT] + + * Previously overriding the system mdadm rule was not copied into + initramfs, thus had no effect at boot + + * The fix is to check for existence of the mdadm rule override in the + /etc/udev/rules.d and copy it into the initramfs in addition to the + system udev rule + + [TESTCASE] + + * Touch the udev rule overrided (Note old package ships two udev rules as per bug 1002357): + * Update the initramfs + * Unpack the initramfs NB! use your correct name for the inird.img file name! + * Search for the udev rule override + + $ sudo touch /etc/udev/rules.d/65-mdadm-blkid.rules + $ sudo touch /etc/udev/rules.d/85-mdadm.rules + $ update-initramfs -u + $ cd `mktemp -d` && gzip -dc /boot/initrd.img-3.4.0-5-generic | cpio -ivd + $ find -name '*.rules' -empty + # No output + + * Upgrade the package and repeat + + $ sudo touch /etc/udev/rules.d/64-md-raid.rules + $ update-initramfs -u + $ cd `mktemp -d` && gzip -dc /boot/initrd.img-3.4.0-5-generic | cpio -ivd + $ find -name '*.rules' -empty + # Expect the location of the empty rules override + + + [Regression Potential] + + * Systems administrators who by lucky chance where overriding upsteam + udev rules name, which previously was not present on Ubuntu, may be + surprised or annoyed that their change now got copied into initramfs and + affected their boot. + + * Same as in the bug 968074, the default udev rule has changed. Users + who relied on the previous, incomplete/broken, udev rules may be + pleasantly surprised or annoyed that the udev rule name has changed to + match the one of Debian and upstream. + + * System administrators need to check their /etc/udev/rules.d/ to make + sure that (a) they do not override mdadm rules (b) if they do, check + that those overrides are still needed (c) that the override is named to + match the new udev rule name.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1017407 Title: should copy /etc/udev/ rule if available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1017407/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
