Please merge mdadm 3.2.3-2 from Debian unstable (main) (multiple regressions)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Debian) |
Fix Released
|
Unknown
|
|||
mdadm (Ubuntu) |
Fix Released
|
High
|
Clint Byrum |
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.
http://
mdadm: segmentation fault when converting raid10 to raid0
http://
mdadm-raid does not assemble mds on multipath devices
http://
This ticket was originally about only one of them:
/etc/cron.
http://
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.
mdadm: Only one autorebuild process allowed in scan mode, aborting
run-parts: /etc/cron.
Because when you install the mdadm package this crontab file is created:
$ dpkg -S /etc/cron.
mdadm: /etc/cron.
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 <email address hidden>
Changed-By: Michael Tokarev <email address hidden>
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-
mdadm-raid init script (Closes: #641584)
While at it, remove mention of devfsd
* added Slovak (sk.po) po-debconf translation from Slavko <email address hidden>
(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)
Related branches
- Dimitri John Ledkov: Pending requested
-
Diff: 24674 lines (+7902/-9243)110 files modified.pc/applied-patches (+0/-3)
.pc/debian-changes-3.1.4-1+8efb9d1ubuntu4/Assemble.c (+0/-1650)
.pc/debian-changes-3.1.4-1+8efb9d1ubuntu4/ReadMe.c (+0/-602)
.pc/debian-changes-3.1.4-1+8efb9d1ubuntu4/config.c (+0/-1131)
.pc/debian-conffile-location.diff/Makefile (+287/-0)
.pc/debian-conffile-location.diff/ReadMe.c (+608/-0)
.pc/debian-conffile-location.diff/mdadm.8.in (+2899/-0)
.pc/debian-conffile-location.diff/mdadm.conf.5 (+581/-0)
.pc/debian-conffile-location.diff/mdassemble.8 (+65/-0)
.pc/debian-no-Werror.diff/Makefile (+287/-0)
.pc/debian/conffile-location.diff/Makefile (+0/-286)
.pc/debian/conffile-location.diff/ReadMe.c (+0/-602)
.pc/debian/conffile-location.diff/mdadm.8.in (+0/-2880)
.pc/debian/conffile-location.diff/mdadm.conf.5 (+0/-581)
.pc/debian/conffile-location.diff/mdassemble.8 (+0/-65)
.pc/debian/no-Werror.diff/Makefile (+0/-286)
.pc/sha1-includes.diff/sha1.h (+141/-0)
ANNOUNCE-3.2.4 (+144/-0)
ANNOUNCE-3.2.5 (+31/-0)
Assemble.c (+72/-23)
Create.c (+14/-4)
Detail.c (+8/-7)
Grow.c (+288/-84)
Incremental.c (+6/-8)
Makefile (+7/-6)
Manage.c (+94/-51)
Monitor.c (+19/-12)
ReadMe.c (+7/-1)
check.d/_numbers (+0/-1)
check.d/root_on_raid (+0/-35)
config.c (+6/-6)
debian/README.source (+0/-18)
debian/changelog (+102/-0)
debian/checkarray (+15/-0)
debian/control (+1/-1)
debian/initramfs/local-premount (+1/-0)
debian/mdadm.logcheck.ignore.server (+1/-1)
debian/patches/debian-conffile-location.diff (+126/-0)
debian/patches/debian-disable-udev-incr-assembly.diff (+27/-0)
debian/patches/debian-no-Werror.diff (+26/-0)
debian/patches/debian/conffile-location.diff (+0/-128)
debian/patches/debian/disable-udev-incr-assembly.diff (+0/-29)
debian/patches/debian/no-Werror.diff (+0/-28)
debian/patches/series (+4/-3)
debian/patches/sha1-includes.diff (+45/-0)
debian/po/ca.po (+7/-7)
debian/po/cs.po (+7/-7)
debian/po/da.po (+7/-7)
debian/po/de.po (+7/-7)
debian/po/es.po (+7/-7)
debian/po/eu.po (+7/-7)
debian/po/fi.po (+6/-6)
debian/po/fr.po (+7/-7)
debian/po/gl.po (+7/-7)
debian/po/it.po (+7/-7)
debian/po/ja.po (+7/-7)
debian/po/nl.po (+7/-7)
debian/po/pt.po (+7/-7)
debian/po/pt_BR.po (+39/-7)
debian/po/ru.po (+7/-7)
debian/po/sk.po (+7/-7)
debian/po/sv.po (+7/-7)
debian/po/templates.pot (+2/-2)
debian/po/vi.po (+7/-7)
debian/rules (+7/-17)
debian/source_mdadm.py (+5/-7)
inventory (+28/-26)
lib.c (+7/-2)
makedist (+4/-2)
managemon.c (+6/-0)
mapfile.c (+6/-11)
mdadm.8.in (+42/-23)
mdadm.c (+24/-6)
mdadm.conf-example (+1/-1)
mdadm.conf.5 (+1/-1)
mdadm.h (+38/-14)
mdadm.spec (+2/-2)
mdassemble.8 (+1/-1)
mdmon.8 (+13/-3)
mdmon.c (+48/-11)
mdopen.c (+1/-1)
monitor.c (+20/-16)
msg.c (+10/-0)
msg.h (+1/-0)
platform-intel.h (+1/-0)
sha1.c (+42/-49)
sha1.h (+64/-12)
super-ddf.c (+25/-16)
super-intel.c (+1159/-189)
super0.c (+18/-12)
super1.c (+169/-102)
sysfs.c (+13/-4)
test (+6/-5)
tests/00raid1 (+2/-2)
tests/05r1-bitmapfile (+3/-3)
tests/05r1-grow-external (+2/-2)
tests/05r1-grow-internal (+2/-2)
tests/05r1-grow-internal-1 (+2/-2)
tests/05r1-internalbitmap (+3/-3)
tests/05r1-internalbitmap-v1a (+3/-3)
tests/05r1-internalbitmap-v1b (+3/-3)
tests/05r1-internalbitmap-v1c (+3/-3)
tests/05r1-n3-bitmapfile (+3/-3)
tests/05r1-re-add (+2/-2)
tests/06wrmostly (+2/-2)
tests/07autoassemble (+4/-4)
tests/09imsm-assemble (+3/-3)
tests/09imsm-create-fail-rebuild (+1/-1)
tests/10ddf-create (+1/-1)
util.c (+30/-12)
Changed in mdadm (Debian): | |
status: | Unknown → Fix Released |
summary: |
- noise from /etc/cron.daily/mdadm + /etc/cron.daily/mdadm fails if mdadm monitor daemon is already running |
description: | updated |
tags: | added: testcase |
tags: | added: precise |
description: | updated |
summary: |
- /etc/cron.daily/mdadm fails if mdadm monitor daemon is already running + Please sync mdam 3.2.3-2 from Debian unstable (main) (was: + /etc/cron.daily/mdadm fails if mdadm monitor daemon is already running) |
description: | updated |
summary: |
- Please sync mdadm 3.2.3-2 from Debian unstable (main) (was: - /etc/cron.daily/mdadm fails if mdadm monitor daemon is already running) + Please sync mdadm 3.2.3-2 from Debian unstable (main) (multiple + regressions) |
description: | updated |
tags: | added: regression-update |
summary: |
- Please sync mdadm 3.2.3-2 from Debian unstable (main) (multiple + Please merge mdadm 3.2.3-2 from Debian unstable (main) (multiple regressions) |
Changed in mdadm (Ubuntu): | |
importance: | Undecided → High |
Changed in mdadm (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
Status changed to 'Confirmed' because the bug affects multiple users.