[Bug 969384] Re: mdadm --detail --scan segfaults during update-initramfs

Paul Gortmaker paul.gortmaker at gmail.com
Mon Aug 13 15:58:18 UTC 2012


Seems OK now, see below:

-------------
root at yow-lpgnfs-02:/home/paul# ls -l /sbin/mdadm
-rwxr-xr-x 1 root root 462496 Aug  4 02:54 /sbin/mdadm
root at yow-lpgnfs-02:/home/paul# mdadm --version
mdadm - v3.2.5 - 18th May 2012
root at yow-lpgnfs-02:/home/paul# dpkg-query -l|grep mdadm
ii  mdadm                                3.2.5-1ubuntu0.2                    tool to administer Linux MD arrays (software RAID)
root at yow-lpgnfs-02:/home/paul# mdadm --detail --scan
ARRAY /dev/md0 metadata=0.90 UUID=48165815:e3a4f8ba:63476e95:1b06b14d
root at yow-lpgnfs-02:/home/paul# which mdadm
/sbin/mdadm
root at yow-lpgnfs-02:/home/paul# grep ^ARRAY /etc/mdadm/mdadm.conf 
ARRAY /dev/md0 level=raid0 num-devices=2 devices=/dev/sda1,/dev/sdb1
root at yow-lpgnfs-02:/home/paul# 
---------------

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/969384

Title:
  mdadm --detail --scan segfaults during update-initramfs

Status in “mdadm” package in Ubuntu:
  Fix Released
Status in “mdadm” source package in Precise:
  Fix Committed
Status in “mdadm” source package in Quantal:
  Fix Released

Bug description:
  [IMPACT]

   * mdadm --detail --scan segfauls, when used with raw device names

   * This may result in update-initramfs call failure, preventing users
  from updating linux kernel and other parts which are included in the
  initramfs.

  * The bug is fixed in the upstream bug fix point release

  [TESTCASE]

   * Reproduce a segfault by running mdadm --detail --scan with raw device names
   * Upgrade the package
   * Notice that running mdadm --detail --scan no longer segfaults 

  [Regression Potential]

   * Minimal, worst thing that can happen is that the said call still
  segfaults or has other new problems.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/969384/+subscriptions




More information about the foundations-bugs mailing list