Segfault when readding hotplug devices

Bug #244803 reported by ceg
2
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mdadm

When an hotplugable raid 1 member (say /dev/sdc1) gets disconnected and is subsequently re-added with "mdadm --add /dev/md0 /dev/sdd1" mdadm quits with "segmentation fault".

The udev rules supplied with mdadm need to trigger a "mdadm --fail <devname> --remove <devname>" as soon as possible on udev removal events.

The member partitions need to be removed quickly (i.e. ACTION=="remove", SUBSYSTEM=="scsi_generic") before the device node ist deleted, because then the device can't be removed from the array any more.
(German testreport http://www.rob-schulze.de/publikationen/frickelworx/usb-raid/)

ceg (ceg)
description: updated
Revision history for this message
ceg (ceg) wrote :

doesn't happen in 9.10

Changed in mdadm (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.