[Bug 920324] Re: Please merge mdadm 3.2.3-2 from Debian unstable (main) (multiple regressions)
Launchpad Bug Tracker
920324 at bugs.launchpad.net
Fri Feb 10 01:20:12 UTC 2012
This bug was fixed in the package mdadm - 3.2.3-2ubuntu1
---------------
mdadm (3.2.3-2ubuntu1) precise; urgency=low
* Merge from Debian testing. (LP: #920324) Remaining changes:
- Call checks in local-premount to avoid race condition with udev
and opening a degraded array.
- d/initramfs/mdadm-functions: Record in /run when boot-degraded
question has been asked so that it is only asked once
- pass --test to mdadm to enable result codes for degraded arrays.
- Build udeb with -O2 on ppc64, working around a link error.
- debian/control: we need udev and util-linux in the right version. We
also remove the build dependency from quilt and docbook-to-man as both
are not used in Ubuntus mdadm.
- debian/initramfs/hook: kept the Ubuntus version for handling the absence
of active raid arrays in <initramfs>/etc/mdadm/mdadm.conf
- debian/initramfs/script.local-top.DEBIAN, debian/mdadm-startall,
debian/mdadm.raid.DEBIAN: removed. udev does its job now instead.
- debian/mdadm-startall.sgml, debian/mdadm-startall.8: documentation of
unused startall script
- debian/mdadm.config, debian/mdadm.postinst - let udev do the handling
instead. Resolved merge conflict by keeping Ubuntu's version.
- debian/mdadm.postinst, debian/mdadm.config, initramfs/init-premount:
boot-degraded enablement; maintain udev starting of RAID devices;
init-premount hook script for the initramfs, to provide information at
boot
- debian/mkconf.in is the older mkconf. Kept the Ubuntu version.
- debian/rules: Kept Ubuntus version for installing apport hooks, not
installing un-used startall script and for adding a udev rule
corresponding to mdadm.
- debian/install-rc, check.d/_numbers, check.d/root_on_raid: Ubuntu partman
installer changes
- debian/presubj: Dropped this unused bug reporting file. Instead use
source_mdadm.py act as an apport hook for bug handling.
- rename debian/mdadm.vol_id.udev to debian/mdadm.mdadm-blkid.udev so that
the rules file ends up with a more reasonable name
- d/p/debian-changes-3.1.4-1+8efb9d1ubuntu4: mdadm udev rule
incrementally adds mdadm member when detected. Starting such an
array in degraded mode is possible by mdadm -IRs. Using mdadm
-ARs without stopping the array first does nothing when no
mdarray-unassociated device is available. Using mdadm -IRs to
start a previously partially assembled array through incremental
mode. Keeping the mdadm -ARs for assembling arrays which were for
some reason not assembled through incremental mode (i.e through
mdadm's udev rule).
mdadm (3.2.3-2) unstable; urgency=low
[ Michael Tokarev ]
* new upstream bugfix/stable version, with lots of fixes all over.
Closes: #641886, #628667, #645563, #651880, #607375, #633880
* update Neil's email (Closes: #650630)
* update mdadd.sh to version 1.52 (Closes: #655212)
* fixed a typo (RAID6 vs RAID10) in FAQ (Closes: #637068)
* declare ordering dependency for multipath-tools-boot in
mdadm-raid init script (Closes: #641584)
While at it, remove mention of devfsd
* added Slovak (sk.po) po-debconf translation from Slavko <linux at slavino.sk>
(Closes: #641972)
* set nice value of the check/resync thread too, together with I/O
scheduling class, based on patch by Sergey B Kirpichev (Closes: #652547)
* small changes for debian/checkarray
* (internal) move files from contrib/* topgit branches into debian directory
* remove dh_testroot from clean target
* add myself to uploaders
[ Peter Eisentraut ]
* Added support for "status" action to mdadm init script (Closes: #651737)
-- Clint Byrum <clint at ubuntu.com> Thu, 09 Feb 2012 16:53:02 -0800
** Changed in: mdadm (Ubuntu)
Status: In Progress => Fix Released
--
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/920324
Title:
Please merge mdadm 3.2.3-2 from Debian unstable (main) (multiple
regressions)
Status in “mdadm” package in Ubuntu:
Fix Released
Status in “mdadm” package in Debian:
Fix Released
Bug description:
Looking at the list of fixes upgrading mdadm from 3.2.2 to 3.2.3 shows
some severe regressions were fixed.
mdadm: re-add fails (regression in mdadm-3.2.2-1ubuntu1)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651880
mdadm: segmentation fault when converting raid10 to raid0
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645563
mdadm-raid does not assemble mds on multipath devices
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641584
This ticket was originally about only one of them:
/etc/cron.daily/mdadm fails if mdadm monitor daemon is already running
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641886
Reproducing:
1. Install Ubuntu 12.04 with md raid.
My system has:
$ cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sdb2[1] sda2[0]
522048 blocks [2/2] [UU]
md0 : active raid1 sdb1[1] sda1[0]
10490304 blocks [2/2] [UU]
md2 : active raid1 sdc1[0] sdd1[1]
805305143 blocks super 1.2 [2/2] [UU]
unused devices: <none>
2. Try running this mdadm command, observe unexpected results:
# mdadm --monitor --scan --oneshot
mdadm: Only one autorebuild process allowed in scan mode, aborting
3. Also cron will send mail:
/etc/cron.daily/mdadm:
mdadm: Only one autorebuild process allowed in scan mode, aborting
run-parts: /etc/cron.daily/mdadm exited with return code 1
Because when you install the mdadm package this crontab file is
created:
$ dpkg -S /etc/cron.daily/mdadm
mdadm: /etc/cron.daily/mdadm
4. Stop any mdadm processes (but only for testing, it is unacceptable
to turn off mdadm monitoring.)
# service mdadm stop
5. Try running, observe expected results:
# mdadm --monitor --scan --oneshot
(no output)
This issue was fixed in Debian, please Debian Import this version:
Format: 1.8
Date: Wed, 18 Jan 2012 22:33:01 +0400
Source: mdadm
Binary: mdadm mdadm-udeb
Architecture: source i386
Version: 3.2.3-2
Distribution: unstable
Urgency: low
Maintainer: Debian mdadm maintainers <pkg-mdadm-devel at lists.alioth.debian.org>
Changed-By: Michael Tokarev <mjt at tls.msk.ru>
Description:
mdadm - tool to administer Linux MD arrays (software RAID)
mdadm-udeb - tool to administer Linux MD arrays (software RAID) (udeb)
Closes: 607375 628667 633880 637068 641584 641886 641972 645563 650630 651737 651880 652547 655212
Changes:
mdadm (3.2.3-2) unstable; urgency=low
.
[ Michael Tokarev ]
* new upstream bugfix/stable version, with lots of fixes all over.
Closes: #641886, #628667, #645563, #651880, #607375, #633880
* update Neil's email (Closes: #650630)
* update mdadd.sh to version 1.52 (Closes: #655212)
* fixed a typo (RAID6 vs RAID10) in FAQ (Closes: #637068)
* declare ordering dependency for multipath-tools-boot in
mdadm-raid init script (Closes: #641584)
While at it, remove mention of devfsd
* added Slovak (sk.po) po-debconf translation from Slavko <linux at slavino.sk>
(Closes: #641972)
* set nice value of the check/resync thread too, together with I/O
scheduling class, based on patch by Sergey B Kirpichev (Closes: #652547)
* small changes for debian/checkarray
* (internal) move files from contrib/* topgit branches into debian directory
* remove dh_testroot from clean target
* add myself to uploaders
.
[ Peter Eisentraut ]
* Added support for "status" action to mdadm init script (Closes: #651737)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/920324/+subscriptions
More information about the foundations-bugs
mailing list