[Bug 1017407] Update Released

Steve Langasek steve.langasek at canonical.com
Mon Aug 13 19:43:16 UTC 2012


The verification of this Stable Release Update has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regresssions.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/1017407

Title:
  should copy /etc/udev/ rule if available

Status in “mdadm” package in Ubuntu:
  Fix Released
Status in “mdadm” source package in Precise:
  Fix Released
Status in “mdadm” source package in Quantal:
  Fix Released

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1017407/+subscriptions




More information about the foundations-bugs mailing list