Segfault when readding hotplug devices

Bug #244803 reported by ceg on 2008-07-02
2
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
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) on 2008-07-24
description: updated
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  Edit
Everyone can see this information.

Other bug subscribers