** Description changed: - # Sensible udev rules in debian - $ find sid/debian/ -name '*.rules' | xargs -L 1 md5sum - 6df86db16655769fa94086d3ee13453a sid/debian/mdadm/lib/udev/rules.d/64-md-raid.rules - 6df86db16655769fa94086d3ee13453a sid/debian/mdadm-udeb/lib/udev/rules.d/64-md-raid.rules + [IMPACT] - # Crazy bit rotted udev rules + * Previously 3 different versions of udev rules where installed into 4 + places (2 in the deb and 2 in the udeb) + + * This causes confusion, as multiple mdadm rules are run. It is not + clear to the system administrator which udev rule to override in /etc/. + It is even more confusing for remastering udebs, as different udev rule + was needed to be overridden there. + + * The solution is to use a single matching name udev rule in both deb and udeb + + * The upstream udev rule was chosen to be used as described in the bug 968074 + + [TESTCASE] + + * Unpack old deb and udeb into a temporary directory and execute a + command similar to this: + + $ find quantal/ -name '*.rules' | xargs -L 1 md5sum + + * Expected output is 4 files and 3 unique hashes + + * Unpack new deb and udeb into a temporary directory and execute the + same command: + + $ find precise-proposed/ -name '*.rules' | xargs -L 1 md5sum + + * Expected output is 2 files with identical hashes + + [Regression Potential] + + * 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. + + [Other Info] + + # Checksums and names of the old udev rules $ find quantal/debian/ -name '*.rules' | xargs -L 1 md5sum e143161798744026d7e4aac78e0bfede quantal/debian/mdadm/lib/udev/rules.d/65-mdadm-blkid.rules 916ce910a5829a0026a5b8bb3861c935 quantal/debian/mdadm/lib/udev/rules.d/85-mdadm.rules 6df86db16655769fa94086d3ee13453a quantal/debian/mdadm-udeb/lib/udev/rules.d/64-md-raid.rules e143161798744026d7e4aac78e0bfede quantal/debian/mdadm-udeb/etc/udev/rules.d/65-mdadm-blkid.rules - At the same time maybe a related udev.rules Bug #968074 can be fixed. + $ Checksum, name and locations of the new udev rule + 6df86db16655769fa94086d3ee13453a sid/debian/mdadm/lib/udev/rules.d/64-md-raid.rules + 6df86db16655769fa94086d3ee13453a sid/debian/mdadm-udeb/lib/udev/rules.d/64-md-raid.rules
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1002357 Title: sort out udev rules madness (3 editions installed into 4 files) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1002357/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
