[Bug 920324] [NEW] Please sync mdadm 3.2.3-2 from Debian unstable (main) (multiple regressions)

Launchpad Bug Tracker 920324 at bugs.launchpad.net
Wed Feb 8 17:01:26 UTC 2012


You have been subscribed to a public bug by nutznboltz (nutznboltz):

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)

** Affects: mdadm (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: mdadm (Debian)
     Importance: Unknown
         Status: Fix Released


** Tags: precise regression-update testcase
-- 
Please sync mdadm 3.2.3-2 from Debian unstable (main) (multiple regressions)
https://bugs.launchpad.net/bugs/920324
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list