Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439248 - sys-fs/mdadm-3.2.3-r2 - mdadm --monitor crashes on RebuildFinished event if mismatch_cnt is more than 99
Summary: sys-fs/mdadm-3.2.3-r2 - mdadm --monitor crashes on RebuildFinished event if m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://git.neil.brown.name/git?p=mdad...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-10-22 09:57 UTC by Livid
Modified: 2012-11-25 05:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Livid 2012-10-22 09:57:37 UTC
Additional information and upstream patch can be found on ubuntu bugzilla:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/946758

This is a very serious bug, btw. Monitoring just silently dies at random, so that administrator can notice this only by chance.

Reproducible: Always
Comment 1 Livid 2012-10-22 10:03:06 UTC
See also http://git.neil.brown.name/git?p=mdadm.git;a=commit;h=8453f8d0df0111cfd25e984afb7a64153b04bc27 (upstream commit fixing said bug)
Comment 2 Livid 2012-10-23 06:19:57 UTC
Aw, come on, it is at least severity:major!

This bug is highly likely to result in loss of data, if administrator relies on mdadm monitoring capabilities for raid health check.
I stress that mdadm --monitor just silently segfaults if after array check mismatch_cnt occurs to be high. Without monitoring, it is likely to get a faulty drive and just not notice that! And if mismatch_cnt IS high, faulty drive is all more likely, which means monitoring is completely broken: it works while everything's OK and suddenly stops working when things go awry, without reporting anything.
Comment 3 SpanKY gentoo-dev 2012-11-25 05:50:13 UTC
fixed in 3.2.6 if not earlier