Last commit made on 2017-11-08
Get this branch:
git clone -b ubuntu/trusty-updates https://git.launchpad.net/ubuntu/+source/mdadm
Members of Ubuntu Server Dev import team can upload to this branch. Log in for directions.

Branch merges

Branch information


Recent commits

7970b59... by Dan Streetman on 2017-10-09

Import patches-unapplied version 3.2.5-5ubuntu4.4 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Changelog parent: 139fefce0bee6449721105ab60fdddbbf2a87198

New changelog entries:
  * Prevent segfault when get_md_name() returns NULL
    This fixes mdadm segfaults when running inside a container.
    (LP: #1617919)

139fefc... by Steve Beattie on 2016-05-18

Import patches-unapplied version 3.2.5-5ubuntu4.3 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Changelog parent: d46ffa0642c68b550e81d1a5da7615a33fc03e29

New changelog entries:
  * debian/source_mdadm.py: fix bytes versus strings mismatch that
    caused the apport hook to fail (LP: #1583279)

d46ffa0... by Iain Lane on 2015-06-16

Import patches-unapplied version 3.2.5-5ubuntu4.2 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Changelog parent: 60dd0d61ec0893da1dee3d9fb8174cf74e6115d8

New changelog entries:
  * debian/dmraid2mdadm.cfg: Only append to GRUB_CMDLINE_LINUX_DEFAULT one
    time. (LP: #1465567)

60dd0d6... by Dimitri John Ledkov on 2014-04-30

Import patches-unapplied version 3.2.5-5ubuntu4.1 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Changelog parent: 0f8b543061b06dc31f058111d802c2f112937633

New changelog entries:
  * Instead of calling update-grub in postinst, call update-grub2. (LP:
    #1285312) Although machines installed in this decade would have
    grub2's update-grub, this is not the case for machines upgraded into
    this decade from e.g. 8.04 LTS in which case update-grub would be
    grub1 with which this package doesn't integrate any more. All users
    who have not yet upgraded to grub2 are urged to upgrade to grub
    following instructions at:

0f8b543... by Dimitri John Ledkov on 2014-02-28

Import patches-unapplied version 3.2.5-5ubuntu4 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Changelog parent: 4751e543c58c1c7afc0060a74040173e24c54758

New changelog entries:
  * Don't fail package configure if update-grub fails for any reason,
    e.g. not use. (LP: #1284514)

4751e54... by Dimitri John Ledkov on 2014-02-18

Import patches-unapplied version 3.2.5-5ubuntu3 to ubuntu/trusty-proposed

Imported using git-ubuntu import.

Changelog parent: e7fa075a09d3b25f4372f1f2cd02aaa9a9d39b86

New changelog entries:
  * Drop precise-sru-reverts.patch, which disabled imsm/ddf raid assembly.
  * Take kernel cmdline parameters "nomdmonisw" and "nomdmonddf" into
    account, when assembling imsm/ddf arrays. This defaults to assembling
    those arrays using mdmon/mdadm, with a fallback to dmraid upon
  * Add breaks on dmraid, of versions that assemble fakeraid devices by
  * Drop degraded array questions, since the degraded check results in
    false negatives (e.g. all drives present & started arrays, yet
    resyncing) assemble arrays as best as is possible. (LP: #1279741)
  * Use default/grub.d snippet to continue using dmraid to assemble
    fakeraid arrays.

e7fa075... by Dimitri John Ledkov on 2013-03-26

Import patches-unapplied version 3.2.5-5ubuntu2 to ubuntu/raring-proposed

Imported using git-ubuntu import.

Changelog parent: 75b504b9155635b8dc2ab869a539f9847a802c5c

New changelog entries:
  * Remove the corr-ect unused conffile. (LP: #1127867)

75b504b... by Dimitri John Ledkov on 2013-02-14

Import patches-unapplied version 3.2.5-5ubuntu1 to ubuntu/raring-proposed

Imported using git-ubuntu import.

Changelog parent: 4a4e40d1d7afb3a19ed3ee76eb656f9fce4efb28

New changelog entries:
  * Implement plymouth hooks for degraded RAID questions. (LP: #1102499)
  * Merged Intel Matrix Storage initramfs support.
  * Merge from Debian, remaining delta is still the same:
    - Call checks in local-premount to avoid race condition with udev
      and opening a degraded array.
    - debian/initramfs/local-premount: add call wait_for_udev to wait a
      little longer for RAID devices to appear (LP: #942106)
    - d/initramfs/mdadm-functions: Record in /run when boot-degraded
      question has been asked so that it is only asked once
    - pass --test to mdadm to enable result codes for degraded arrays.
    - debian/control: we need udev and util-linux in the right version. We
      also remove the build dependency from quilt and docbook-to-man as both
      are not used in Ubuntus mdadm.
    - debian/initramfs/hook: kept the Ubuntus version for handling the absence
      of active raid arrays in <initramfs>/etc/mdadm/mdadm.conf
    - debian/initramfs/script.local-top.DEBIAN, debian/mdadm-startall,
      debian/mdadm.raid.DEBIAN: removed. udev does its job now instead.
    - debian/mdadm-startall.sgml, debian/mdadm-startall.8: documentation of
      unused startall script
    - debian/mdadm.config, debian/mdadm.postinst - let udev do the handling
      instead. Resolved merge conflict by keeping Ubuntu's version.
    - debian/mdadm.postinst, debian/mdadm.config, initramfs/init-premount:
      boot-degraded enablement; maintain udev starting of RAID devices;
      init-premount hook script for the initramfs, to provide information at
    - debian/mkconf.in is the older mkconf. Kept the Ubuntu version.
    - debian/rules: Kept Ubuntus version for installing apport hooks, not
      installing un-used startall script.
    - debian/install-rc, check.d/_numbers, check.d/root_on_raid: Ubuntu partman
      installer changes
    - debian/presubj: Dropped this unused bug reporting file. Instead use
      source_mdadm.py act as an apport hook for bug handling.
    - d/p/debian-changes-3.1.4-1+8efb9d1ubuntu4: mdadm udev rule
      incrementally adds mdadm member when detected. Starting such an
      array in degraded mode is possible by mdadm -IRs. Using mdadm
      -ARs without stopping the array first does nothing when no
      mdarray-unassociated device is available. Using mdadm -IRs to
      start a previously partially assembled array through incremental
      mode. Keeping the mdadm -ARs for assembling arrays which were for
      some reason not assembled through incremental mode (i.e through
      mdadm's udev rule).
    - udev-md-raid.rules to not auto-start arrays based on detection
      of ddf or isw (imsm) signatures; this conflicts with dmraid usage in
      precise and requires more analysis before it can be enabled in SRU.

  * Merged in Debian:
    - Copy udev rule from /etc/udev/rules.d/ as well as the
      /lib/udev/rules.d/, to allow local administrator to override mdadm
      rules file.

4a4e40d... by Michael Tokarev <email address hidden> on 2013-01-24

Import patches-unapplied version 3.2.5-5 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 7e438de016d1f940274e2ed053cd2549c2db0b38

New changelog entries:
  * add (empty) restart and force-reload actions to mdadm-waitidle
    script -- this script is used only when the system needs to be
    shut down or rebooted, there's nothing to start or restart.

7e438de... by Michael Tokarev <email address hidden> on 2012-10-20

Import patches-unapplied version 3.2.5-4+mdmon to debian/experimental

Imported using git-ubuntu import.

Changelog parent: 5bce7f17b19ea0db65ea586e6385f9c2243932e3

New changelog entries:
  * fix `/etc/init.d/mdadm-raid status' inverse logic (Closes: #686100)
  * /etc/init.d/mdadm: change RUNDIR to /run instead of /var/run.
    Mdadm itself uses /run internally, we properly depend on initscripts
    version which creates /run, and the initscript itself is started
    after local_fs is processed, so this is merely a no-op, but let's
    do it for consistency.
  * Fix 'enough' function for RAID10, to prevent starting of a RAID10
    array which does not have required minimum of component devices.
    (Closes: #691668).
  * fix segfaults in Detail() - mdadm --detail may segfault if a drive
    has been removed from the array (Closes: #691670)
  * super0: do not override uuid with homehost. The bug prevented
    re-creating an array with v0.90 superblock with the specified uuid
    when homehost is also specified. (Closes: #686703)
  * several fixes for mdmon argument processing (Closes: #691671):
    - allow --takeover when original was started with --offroot
    - fix arg parsing.
    - fix arg processing for -a
  * Changes based on a patch by Miquel van Smoorenburg (Closes: #684708):
    - install mdmon in udeb and initramfs, so imsm arrays can work.
      mdadm runs mdmon automatically when needed (currently for imsm
      arrays), and mdmon is required to make such arrays read-write
      (they're read-only by default) so merely presence of mdmon is
      enough to be able to use imsm arrays.
    - /etc/init.d/mdadm start: if a mdmon pidfile is found in /run/mdadm,
      restart mdmon (--takeover --all)
    - /etc/init.d/mdadm stop: link pidfiles of mdmon processes into
      /run/sendsigs.omit.d, and make sure that happens before sendsigs runs.
    - stop mdadm before sendsigs, so that the above code works
    - add script mdadm-waitidle that runs just before reboot/halt.
      For each array that is still running, it sets sync_action to idle,
      and uses mdadm --wait-clean to wait for all arrays to go idle
      (it has a short timeout).