mdadm (3.3-2ubuntu7.6) xenial; urgency=medium

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

 -- Dan Streetman <dan.streetman@canonical.com>  Mon, 09 Oct 2017 10:06:22 -0400

mdadm (3.3-2ubuntu7.5) xenial; urgency=medium

  * Add systemd shutdown script which waits for arrays to be clean during
    shutdown phase.
  * Do not take over initramfs mdmon services, and continue running them
    off initrd to avoid killing mdmon processes before systemd attempts dm
    detach and hang. As systemd in xenial does not appear to honor
    sendsigs.omit.d.
  * Add mdadm-shutdown.service which is recommended to be used on systems
    with Intel Matrix / DDF raid. It creates a shutdown initramfs which
    systemd-shutdown may pivot to, and complete clean external metadata
    raid array shutdown.
  * LP: #1722491

 -- Dimitri John Ledkov <xnox@ubuntu.com>  Mon, 09 Oct 2017 14:56:09 +0100

mdadm (3.3-2ubuntu7.4) xenial; urgency=medium

  * Drop versioned dependency on initramfs-tools, which was only needed for
    upgrades and now keeps initramfs-tools installed on systems that don't
    need it.  LP: #1716818.
  * Guard calls to update-initramfs -u in the maintainer scripts for a
    check that the script is present.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 13 Sep 2017 03:52:18 +0000

mdadm (3.3-2ubuntu7.2) xenial; urgency=medium

  * Backport initramfs changes from 3.4-4, to improve reliability of
    booting with degraded arrays. LP: #1635049

  * debian/initramfs/hook:
    - Fix UUID= grep for configured RAIDs to be case insensitive.
    - Drop CREATE stanzas from mkconf and don't include them in the
    initramfs. The generated defaults, are the compiled-in defaults. And
    the current one generates warnings when running mdadm in the
    initramfs, as there is no passwd|group files to resolve root/disk
    uid/gid.
  * debian/initrmafs/script.local-block|script.local-bottom:
    - Use local-block integration scrips, in favor of root-fail hooks to
    activate incomplete arrays.
  * debian/initramfs/init-premount|mdadm-functions:
    - Drop, no longer in use.

 -- Dimitri John Ledkov <xnox@ubuntu.com>  Mon, 20 Feb 2017 10:57:43 +0000

mdadm (3.3-2ubuntu7.1) xenial-proposed; urgency=medium

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

 -- Steve Beattie <sbeattie@ubuntu.com>  Wed, 18 May 2016 15:24:48 -0700

mdadm (3.3-2ubuntu7) xenial; urgency=medium

  * Do not start when inside a container (LP: #1568993)

 -- Simon Deziel <simon.deziel@gmail.com>  Mon, 11 Apr 2016 18:33:45 +0000

mdadm (3.3-2ubuntu6) xenial; urgency=medium

  * debian/cotrol: Drop MTA Recommends to a Suggests (LP #1549319)

 -- Adam Conrad <adconrad@ubuntu.com>  Thu, 24 Mar 2016 16:39:13 -0600

mdadm (3.3-2ubuntu5) xenial; urgency=medium

  * Drop grub override, and thus use mdadm to assemble ISMS and DDF raids.

 -- Dimitri John Ledkov <xnox@ubuntu.com>  Fri, 19 Feb 2016 17:27:12 +0000

mdadm (3.3-2ubuntu4) xenial; urgency=low

  * debian/control: recommend kmod in preference to module-init-tools.

 -- Andy Whitcroft <apw@ubuntu.com>  Wed, 17 Feb 2016 11:43:15 +0000

mdadm (3.3-2ubuntu3) xenial; urgency=medium

  * debian/mdadm.init: Stop depending on mdadm-raid, as we removed that init
    script in Ubuntu in favor of udev rules.

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 11 Dec 2015 10:03:17 +0100

mdadm (3.3-2ubuntu2) wily; urgency=medium

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

 -- Iain Lane <iain@orangesquash.org.uk>  Tue, 16 Jun 2015 10:48:09 +0100

mdadm (3.3-2ubuntu1) utopic; urgency=medium

  * Merge from Debian unstable, remaining changes:
    - debian/initramfs/mdadm-functions: add call wait_for_udev to wait a
      little longer for RAID devices to appear.
    - 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/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/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).
    - 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
      request.
    - Use default/grub.d snippet to continue using dmraid to assemble
      fakeraid arrays.
  
  * Install incremental assembly rules.
  * Disable use-external-blkid.diff, udev in Ubuntu is recent enough.

 -- Dimitri John Ledkov <xnox@ubuntu.com>  Thu, 17 Jul 2014 14:49:19 +0100

mdadm (3.3-2) unstable; urgency=low

  * use 63-md-raid-arrays.rules instead of old 64-md-raid.rules
    (Closes: #726237)
  * do not use builtin blkid in udev rules, as our udev (at least
    on wheezy) does not have it (use-external-blkid.diff)

 -- Michael Tokarev <mjt@tls.msk.ru>  Mon, 14 Oct 2013 15:49:54 +0400

mdadm (3.3-1) unstable; urgency=low

  [ Michael Tokarev ]
  * new upstream 3.3 release (Closes: #718896)
    See ANNOUNCE-3.3 for details.
    Patches:
    - refreshed debian-conffile-location.diff
      (added .conf.d)
    - removed debian-disable-udev-incr-assembly.diff
      (do not ship udev-md-raid-assembly.rules for now)
    - refreshed debian-no-Werror.diff
    - refreshed sha1-includes.diff
    - removed patches (included upstream)A:
       spelling-and-manpages.patch
       fix-enough-function-for-RAID10.patch
       fix-segfaults-in-detail.patch
       super0-do-not-override-uuid-with-homehost.patch
       mdmon-allow-takeover-when-original-was-started-with-.patch
       mdmon-fix-arg-parsing.patch
       mdmon-fix-arg-processing-for-a.path
    Install udev-md-raid-arrays.rules instead of udev-md-raid.rules,
    don't install new udev-md-raid-assembly.rules for now.
  * remove Martin F. Krafft from uploaders per his request.
    Thank you for your contributions!
  * added remove-bashism-from-makefile.patch patch to work around
    newly introduced bashism
  * remove debian/source/options, there's no need to set compression
    options for debian.tar.gz.
  * remove outdated debian/docs/md_superblock_formats.txt and
    debian/docs/md.txt (Closes: #714977, #714978)
  * ship ANNOUNCE-*, external-reshape-design.txt, mdmon-design.txt
    files as documentation (Closes: #715324)

  [ Dmitrijs Ledkovs ]
  * Properly remove 65-mdadm.vol_id.rules, instead of trying to remove a
    never-existed 65_mdadm.vol_id.rules (note the 65- vs 65_).

 -- Michael Tokarev <mjt@tls.msk.ru>  Fri, 11 Oct 2013 10:12:47 +0400

mdadm (3.2.5-6) unstable; urgency=low

  * replace home-grown and not-working-since-etch udevsettle call
    in initramfs script with proper wait_for_udev function (from
    common initramfs functions).  This unbreaks situations when
    the underlying device needs some udev magic to happen before
    being available, which includes stacked devices (md on lvm)
    and other cases.  Thanks to Thomas Parmelan and Dave Whitla
    for finding the root cause of breakage and for providing
    the fix.  (Closes: #644876)

 -- Michael Tokarev <mjt@tls.msk.ru>  Tue, 05 Mar 2013 13:32:21 +0400

mdadm (3.2.5-5ubuntu5) utopic; urgency=medium

  * 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:
    https://help.ubuntu.com/community/Grub2/Upgrading

 -- Dimitri John Ledkov <xnox@ubuntu.com>  Wed, 30 Apr 2014 20:42:45 +0100

mdadm (3.2.5-5ubuntu4) trusty; urgency=medium

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

 -- Dimitri John Ledkov <xnox@ubuntu.com>  Fri, 28 Feb 2014 11:03:28 +0000

mdadm (3.2.5-5ubuntu3) trusty; urgency=medium

  * 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
    request.
  * Add breaks on dmraid, of versions that assemble fakeraid devices by
    default.
  * 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.

 -- Dimitri John Ledkov <xnox@ubuntu.com>  Tue, 18 Feb 2014 09:12:20 +0000

mdadm (3.2.5-5ubuntu2) raring; urgency=low

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

 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>  Tue, 26 Mar 2013 17:43:08 +0000

mdadm (3.2.5-5ubuntu1) raring; urgency=low

  * 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
      boot
    - 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.
  
 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>  Fri, 15 Feb 2013 00:23:05 +0100

mdadm (3.2.5-5) unstable; urgency=low

  * 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.

 -- Michael Tokarev <mjt@tls.msk.ru>  Thu, 24 Jan 2013 17:04:49 +0400

mdadm (3.2.5-4+mdmon) experimental; urgency=low

  * 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).

 -- Michael Tokarev <mjt@tls.msk.ru>  Sat, 20 Oct 2012 19:20:12 +0400

mdadm (3.2.5-3) unstable; urgency=low

  * revert "Drop unused debconf templates" change -- the templates
    are actually being (indirectly) used in debian/mdadm.config
  * fix initramfs-script config name (slipped in the initramfs fixes)

 -- Michael Tokarev <mjt@tls.msk.ru>  Sat, 25 Aug 2012 23:12:50 +0400

mdadm (3.2.5-2) unstable; urgency=low

  [ Sergey B Kirpichev ]
  * Fix mdadm.lintian-overrides
  * Fix spelling in binaries, fix lintian warnings
    manpage-has-errors-from-man and hyphen-used-as-minus-sign
  * Drop unused debconf templates
  * Implement status option for mdadm-raid init.d script
  * Fix lintian info's conflicts-with-version: Conflicts -> Breaks

  [ Michael Tokarev ]
  * fix spelling mistakes in previous changelog entry
  * some cleanups for checkarray:
   - change --help printing and shorten/simplify the text
   - make --quiet cumulative and stop documenting --real-quiet
   - do not produce help in case of incorrect usage, and exit with 1
  * fixes for initramfs integration (Closes: #644389, #678262, #685161):
   - check INITRDSTART=none early
   - do not explicitly load raid level modules (modprobe/kmod does this)
   - do not collect needed raid levels (we include all modules anyway)
   - load md_mod explicitly since we need to change global parameter

  [ Dmitrijs Ledkovs ]
  * Use dh_installinit with --no-restart-on-upgrade, which will start
    arrays, but will not stop them during upgrade. (Closes: 678971)
  * Copy local administrator's modified udev rules as well as the system
    one. (Closes: #678973)

 -- Michael Tokarev <mjt@tls.msk.ru>  Sat, 25 Aug 2012 16:25:37 +0400

mdadm (3.2.5-1ubuntu3) quantal; urgency=low

  * Applying relevant changes from precise SRU:
    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.
    LP: #1030292. Thanks to Steve Langasek.

 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>  Tue, 21 Aug 2012 14:40:43 +0100

mdadm (3.2.5-1ubuntu2) quantal; urgency=low

  * 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 (LP: #1017407)

 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>  Mon, 25 Jun 2012 10:43:38 +0100

mdadm (3.2.5-1ubuntu1) quantal; urgency=low

  * Merge from Debian testing. (LP: #920324)  Remaining changes:
    - Call checks in local-premount to avoid race condition with udev
      and opening a degraded array.
    - 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
      boot
    - 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).

  * Additional Ubuntu changes:
      - debian/initramfs/local-premount: add call wait_for_udev to wait a
      little longer for RAID devices to appear (LP: #942106)

  * Dropped Ubuntu changes:
    - Build udeb with -O2 on ppc64, working around a link error. Builds
      fine without it on debian.
    - rename debian/mdadm.vol_id.udev to debian/mdadm.mdadm-blkid.udev so
      that the rules file ends up with a more reasonable name. debian/rules
      changes for adding ubuntu's udev rule corresponding to mdadm. As we
      are now using 'upstream' udev rules see 3.2.3-2ubuntu2.

  * Changes to Ubuntu changes:
    - debian/source_mdadm.py: make apport hook python 2 and 3 compatible
      (LP: #1013171).

  * New upstream release closes this bugs:
    - mdadm --detail --scan segfaults during update-initramfs (LP: #969384)

 -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>  Fri, 15 Jun 2012 15:31:59 +0100

mdadm (3.2.5-1) unstable; urgency=low

  [ Michael Tokarev ]
  * new upstream (bugfix) release, fixing regression when --add'ing
    device to an array, introduced in 3.2.4, plus other minor fixes
    (Closes: #673104, #673344)
  * new patch: sha1-includes.diff to fix #include mess in new sha1.h
  * added a check into debian/checkarray to skip checking arrays created
    less than 2 weeks ago (Closes: #624273)

  [ Dmitrijs Ledkovs ]
  * Remove obsolete documentation dating back to ~etch release
  * Remove reference to obsolete documention from debconf templates
  * Update debconf templates translations
  * Remove compatibility with ancient initramfs-tools
  * Remove debian-specific mdadm-startall.8 in clean target

 -- Michael Tokarev <mjt@tls.msk.ru>  Fri, 25 May 2012 20:23:52 +0400

mdadm (3.2.4-1) unstable; urgency=low

  * new upstream (bugfix) release (Closes: #664088, #661552)
  * removed debian-run-udev.diff (applied upstream), and
    all RUNDIR handling from debian/rules (it is the default now)
  * add build-arch and build-indep targets to debian/rules, and
    bump Standards-Version to 3.9.3

 -- Michael Tokarev <mjt@tls.msk.ru>  Thu, 10 May 2012 17:51:41 +0400

mdadm (3.2.3-3) unstable; urgency=low

  * switch from topgit to plain 3.0 (quilt) layout, creating
    debian/patches.  Don't build-depend on quilt as patching
    is done automatically by dpkg-source.
  * debian/patches/debian-run-udev.diff by Roger Leigh (Closes: #644319, #627774)
  * update debian/mdadm.logcheck.ignore.server to recognize "k" in
    addition of "blocks" in kernel messages.  Thanks to Frédéric Brière
    for the patch (Closes: #656038)

 -- Michael Tokarev <mjt@tls.msk.ru>  Mon, 30 Apr 2012 14:12:38 +0400

mdadm (3.2.3-2ubuntu2) quantal; urgency=low

  * Minimizing the merge-diff from Debian:
    + debian/rules, debian/mdadm.udev, debian/mdadm.mdadm-blkid.udev:
      Drop our own udev rules in favour of upstream's. Debian did so in
      3.0~devel3-43-g2800528-1. Upstream's rules have everything we had.
      (LP: #1002357, LP: #968074)
    + debian/initramfs/hooks: Update to copy only the new/correct udev rules
      file.
    + debian/rules: Remove pointless diff against debian. And now mdmon
    installs itself (LP: #957494).

  * debian/patches/series: Remove `disable-udev-incr-assembly.diff' to
    enable incremental assembly, now that we are using upstream rules & we
    always had incremental assembly enabled.
  
  * Fixing lintian tags, that are introduced in Ubuntu:  
    + debian/source_mdadm.py: fix executable-not-elf-or-script
    + debian/changelog: correct trailer formating of acient changelog entry
  
 -- Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com>  Mon, 21 May 2012 20:48:10 +0100

mdadm (3.2.3-2ubuntu1) precise; urgency=low

  * Merge from Debian testing. (LP: #920324)  Remaining changes:
    - Call checks in local-premount to avoid race condition with udev
      and opening a degraded array.
    - 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. 
    - Build udeb with -O2 on ppc64, working around a link error.
    - 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
      boot
    - 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 and for adding a udev rule
      corresponding to mdadm.
    - 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.
    - rename debian/mdadm.vol_id.udev to debian/mdadm.mdadm-blkid.udev so that
      the rules file ends up with a more reasonable name
    - 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).

 -- Clint Byrum <clint@ubuntu.com>  Thu, 09 Feb 2012 16:53:02 -0800

mdadm (3.2.3-2) unstable; urgency=low

  [ Michael Tokarev ]
  * new upstream bugfix/stable version, with lots of fixes all over.
    Closes: #641886, #628667, #645563, #651880, #607375, #633880
  * update Neil's email (Closes: #650630)
  * update mdadd.sh to version 1.52 (Closes: #655212)
  * fixed a typo (RAID6 vs RAID10) in FAQ (Closes: #637068)
  * declare ordering dependency for multipath-tools-boot in
    mdadm-raid init script (Closes: #641584)
    While at it, remove mention of devfsd
  * added Slovak (sk.po) po-debconf translation from Slavko <linux@slavino.sk>
    (Closes: #641972)
  * set nice value of the check/resync thread too, together with I/O
    scheduling class, based on patch by Sergey B Kirpichev (Closes: #652547)
  * small changes for debian/checkarray
  * (internal) move files from contrib/* topgit branches into debian directory
  * remove dh_testroot from clean target
  * add myself to uploaders

  [ Peter Eisentraut ]
  * Added support for "status" action to mdadm init script (Closes: #651737)

 -- Michael Tokarev <mjt@tls.msk.ru>  Wed, 18 Jan 2012 22:33:01 +0400

mdadm (3.2.2-1ubuntu1) precise; urgency=low

  * Merge from debian unstable.  Remaining changes:
    - Call checks in local-premount to avoid race condition with udev
      and opening a degraded array.
    - 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. 
    - Build udeb with -O2 on ppc64, working around a link error.
    - 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
      boot
    - 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 and for adding a udev rule
      corresponding to mdadm.
    - 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.
    - rename debian/mdadm.vol_id.udev to debian/mdadm.mdadm-blkid.udev so that
      the rules file ends up with a more reasonable name
    - 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).
  * Disabling -fno-strict-aliasing as according to debian bug 375876 it
    has been unnecessary since mdadm 2.5.2
  * Dropped changes:
    - applied upstream
    - d/rules: fix FTBFS by adding -Wno-unused-but-set-variable to
      compiler flags until upstream solves the issue. (fixed upstream)
    - d/control: add dependency on initscripts >= 2.88dsf-13.3 to ensure
      /run exists per http://wiki.debian.org/ReleaseGoals/RunDirectory
      (change also done in debian)
  * d/rules: add 'man' to build mdadm.8

 -- Clint Byrum <clint@ubuntu.com>  Fri, 16 Dec 2011 11:06:12 -0800

mdadm (3.2.2-1) unstable; urgency=low

  [ martin f. krafft ]
  * New upstream version (closes: #615494), which addresses:
    - --grow option aware of size change of underlying device (closes: #618463)
    - builds with -Werror on gcc-4.6 (closes: #625392).
    - new features/functionality:
      + Policy framework.
      + Improved management of reshaping arrays.
      + Support for Intel Matrix Storage Manager (IMSM)
    Thanks to Scott Schaefer for his help in preparing this release!
  * Do not print io rescheduling info message when run by cron
    (closes: #598957).
  * Fix checkarray script so that it does not die after scheduling the first
    device when there is no scheduling class specified; thanks to Mario
    'BitKoenig' Holbe (closes: #611627).
  * Do not include DEVICE line in generated configs but use the built-in value
    by default (closes: #604702).
  * Make mdadm-raid init script depend on hostname; thanks to Mario
   'BitKoenig' Holbe (closes: #610421).
  * Schedule start/stop of mdadm-raid before/after filesystems are
    checked&mounted/unmounted; thanks to Mario 'BitKoenig' Holbe
    (closes: #611632).
  * Work around a shell coding bug for cases when there are zero active
    devices (closes: #618561).
  * Add NEWS entry about metadata change and requirement on new Grub version
    (closes: #595516).
  * Update mdadd.sh script from Arno's webpage.
  * Update md.txt from latest kernel source.
  * Updated debconf translations:
    - Catalan by Innocent De Marchi (closes: #628371)
    - Danish by Joe Dalton (closes: #621346)
  * Small typo fix in RAID5_versus_RAID10.txt
  * Bump Standards-Version to 3.9.2; no changes required.

  [ Michael Tokarev ]
  * don't print W: auto-read-only in checkarray in quiet mode,
    thanks to Bernd Hanisch for the patch (Closes: #605722)
  * move initscript metadata from /lib/init/rw/.mdadm to /run/mdadm,
    and depend on initscripts (>= 2.88dsf-13.3) for /run (Closes: #633054)
  * move runtime stuff from /dev/.mdadm to /run/mdadm
  * document defaults change in debian/NEWS (it was forgotten to be
    done for squeeze) - metadata & chunk size (Closes: #595516)

 -- martin f. krafft <madduck@debian.org>  Mon, 01 Aug 2011 10:41:41 +0200

mdadm (3.1.4-1+8efb9d1ubuntu6) oneiric; urgency=low

  * d/initramfs/mdadm-functions: Record in /run when boot-degraded 
    question has been asked so that it is only asked once (LP: #820111)
  * d/control: add dependency on initscripts >= 2.88dsf-13.3 to ensure
    /run exists per http://wiki.debian.org/ReleaseGoals/RunDirectory
  * d/rules: fix FTBFS by adding -Wno-unused-but-set-variable to
    compiler flags until upstream solves the issue. (LP: #829463)

 -- Clint Byrum <clint@ubuntu.com>  Wed, 24 Aug 2011 08:40:12 -0700

mdadm (3.1.4-1+8efb9d1ubuntu5) oneiric; urgency=low

  * Call checks in local-premount to avoid race condition with udev
    and opening a degraded array. (LP: #778520)

 -- Clint Byrum <clint@ubuntu.com>  Tue, 24 May 2011 13:05:01 -0700

mdadm (3.1.4-1+8efb9d1ubuntu4.1) natty-proposed; urgency=low

  * pass --test to mdadm to enable result codes for degraded arrays. 
    (LP: #761971)

 -- Clint Byrum <clint@ubuntu.com>  Wed, 27 Apr 2011 15:05:14 -0700

mdadm (3.1.4-1+8efb9d1ubuntu4) natty; urgency=low

  * 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). (LP: #728435)

 -- Surbhi Palande <surbhi.palande@canonical.com>  Wed, 23 Mar 2011 18:28:55 +0200

mdadm (3.1.4-1+8efb9d1ubuntu3) natty; urgency=low

  * Build udeb with -O2 on ppc64, working around a link error.

 -- Matthias Klose <doko@ubuntu.com>  Sun, 20 Feb 2011 19:17:41 +0100

mdadm (3.1.4-1+8efb9d1ubuntu2) natty; urgency=low

  * debian/mdadm.manpages: add manpages back to build (LP: #697821).

 -- Kees Cook <kees@ubuntu.com>  Wed, 05 Jan 2011 11:34:25 -0800

mdadm (3.1.4-1+8efb9d1ubuntu1) natty; urgency=low

  * Merge from debian unstable. (LP: #603582) 
  * Remaining changes
    - Assemble.c, config.c: upgraded to the mdadm-3.1.4 version of these files
      from Debian.
    - 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/rules: kept debian's switch to using dh_lintian
    - debian/mdadm.links, debian/mdadm.manpages: dropped owing to the fact
      that these are not used in Ubuntu. Also dropped the build-dep on docbook
      to man)
    - 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
      boot
    - debian/mkconf.in is the older mkconf. Kept the Ubuntus version.
    - debian/rules: Kept Ubuntus version for installing apport hooks, not
      installing un-used startall script and for adding a udev rule
      corresponding to mdadm.
    - 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.
    - rename debian/mdadm.vol_id.udev to debian/mdadm.mdadm-blkid.udev so that
      the rules file ends up with a more reasonable name

 -- Surbhi Palande <surbhi.palande@canonical.com>  Thu, 30 Sep 2010 17:46:19 +0100

mdadm (3.1.4-1+8efb9d1) unstable; urgency=low

  * Added patch with Makefile fix from upstream (commit 8efb9d1) to fix
    compiler/linker problem on non-x86 architectures (closes: #595290).

 -- martin f. krafft <madduck@debian.org>  Fri, 03 Sep 2010 10:45:01 +0200

mdadm (3.1.4-1) unstable; urgency=low

  * New upstream release, which closes:#595039 and addresses the following
    issues too:
    - reverts move of incremental map (closes: #585015).
    - fixes mdadm monitor in the case of an inactive (or start-failed) raid0
      or linear array (closes: #539154).
    - prevent --remove faulty from skipping renumbered devices
      (closes: #587550).
    - fixed overflow when growing a RAID6 (closes: #589493).
  * However, disable the incremental assembly upstream turned on in 3.1.3 for
    now, this will have to wait until after the squeeze release.
  * initramfs/hook: make sure configuration file exists before accessing it;
    thanks to Michael Prokop for the fix and NMU (closes: #589836).
  * initramfs/hook: Match UUID case-insensitive while checking for running
    arrays not listed in mdadm.conf; thanks to Mario 'BitKoenig' Holbe for the
    patch (closes: #583545).
  * Fix URL in the bug reporting preamble (presubj) (closes: #589833).
  * Add I/O rescheduling functionality to the checkarray script and make the
    cronjob use the idle priority; this should now minimise the impact of the
    monthly re-check on the running system; Florian Heigl had the idea
    (closes: #592149, #508123).

 -- martin f. krafft <madduck@debian.org>  Sun, 29 Aug 2010 13:44:59 +0200

mdadm (3.1.2-2) unstable; urgency=low

  * Fix logcheck regexp to cure "egrep: Unmatched [ or [^" message
    (closes: #583376).
  * Cherry-pick 94fcb80 from upstream to fix compiler error due to argument
    type error (at least on ia64, sparc, powerpc) (closes: #583495).

 -- martin f. krafft <madduck@debian.org>  Fri, 28 May 2010 09:35:42 +0200

mdadm (3.1.2-1) unstable; urgency=low

  * New upstream release (closes: #567167).
  * Ignore lintian error about not stopping in runlevel 1.
  * Include more information about the configuration, initrd, and LVM in
    bugscript output.
  * Check active devices against configuration file based on UUID, not device
    name (closes: #553896).
  * When preparing the list of devices, treat /dev/mdX and /dev/md/X equally.
  * Bump Standards-Version to 3.8.4 without having to make changes.
  * Fix logcheck rule with patch from Frédéric Brière, since Rebuild events
    are now arbitrary, no longer multiples of 20 (closes: #570315).
  * checkarray: do not exit non-zero when there are no arrays found (see
    #582360).
  * Do not exit checkarray cronjob non-zero when the tests whether to run
    fail (closes: #580825). This is related to a recent change in behaviour in
    cron 3.0pl1-110 (see e.g. #581612). Thanks to everyone for their
    suggestions!
  * Call MAKEDEV to create device nodes only if MAKEDEV is installed
    (closes: #569360).

 -- martin f. krafft <madduck@debian.org>  Thu, 27 May 2010 09:34:24 +0200

mdadm (3.1.1-1) unstable; urgency=low

  * New upstream release.
  * Retire fixed/blkid-dev branch.
  * Reword warning about unbootable system when mdadm is purged
    (closes: #544558).
  * Updated FAQ to include s2ram as one of the reasons that can prevent an
    array from being stopped; thanks to Pascal Hambourg for writing in.
  * Install udev rules into udeb package (closes: #558823).
  * Update mdadd.sh (formerly /usr/share/doc/mdadm/examples/newdisk.gz) from
    Arno's website, refactoring the script into its own branch/patch
    (closes: #539103).
  * Do not single-quote homehost in initramfs script (closes: #549083).

 -- martin f. krafft <madduck@debian.org>  Wed, 27 Jan 2010 10:14:25 +1300

mdadm (3.0.3-2) unstable; urgency=low

  * Bumped Standards-Version to 3.8.3 without having to make changes.
  * Fixed init dependencies of mdadm daemon init.d script; thanks Petter
    Reinholdtsen (closes: #541396).
  * Switched source package to v3-quilt format.

 -- martin f. krafft <madduck@debian.org>  Fri, 06 Nov 2009 10:06:03 +0100

mdadm (3.0.3-1) unstable; urgency=low

  * New upstream release.
  * Acknowledge 3.0-3.1 NMU by Christian Kujau (patch by Marco d'Itri)
    (closes: #541884), and add util-linux dependency.
  * Copy udev rules into initramfs, which udev stopped doing
    (closes: #549535, #549083, #538843, #538143).
  * Fix the bug script to write debug information to the correct file
    descriptor (closes: #537734).
  * Switch to TopGit and split Debian diff into topic branches; add
    README.source.
  * Drop the outdated rootraiddoc.97.html document.

 -- martin f. krafft <madduck@debian.org>  Tue, 27 Oct 2009 18:06:13 +0100

mdadm (3.0-3.1) unstable; urgency=medium

  * Non-maintainer upload.
  * use blkid instead of vold_id in udev-md-raid.rules (closes: #541884)

 -- christian kujau <lists@nerdbynature.de>  Mon, 14 Sep 2009 10:15:21 +0200

mdadm (3.0-2) unstable; urgency=low

  * Fixed initramfs script with patch from Steffen Hau: it was still using
    --auto-update-homehost, which has been removed and replaced by a better
     heuristic: arrays created for a different "homehost" will now be
     assembled read-only, rather than shoehorned into the system with
     --auto-update-homehost (closes: #537820).
  * Add version stamps to bugscript and mkconf scripts to facilitate
    debugging.

 -- martin f. krafft <madduck@debian.org>  Tue, 21 Jul 2009 10:33:30 +0200

mdadm (3.0-1) unstable; urgency=low

  * New stable upstream release.
  * Add information about udev and device links in /dev to bugscript output.
  * Add pointer to FAQ and in particular rootdelay to the bug script
    pre-subject file, which is displayed by tools like reportbug and thus
    hopefully reduces the numbers of duplicated bugs.
  * Patch from Frédéric Brière to make logcheck rules printk_time aware
    (closes: #537460).
  * Updated German translation due to typos and old spelling rules; thanks to
    Helge Kreutzmann for the patch (closes: #534663).
  * Bumped Standard-Version to 3.8.2; no changes necessary.

 -- martin f. krafft <madduck@debian.org>  Mon, 20 Jul 2009 16:12:41 +0200

mdadm (3.0~devel3-43-g2800528-1) experimental; urgency=low

  * Merge tip of upstream's devel-3.0 branch at commit 2800528.
  * Drop our own udev rules in favour of upstream's. If
    /etc/udev/rules.d/65_mdadm.vol_id.rules has not been modified (md5sum
    check), it is automatically removed; else, a warning is emitted.
  * Add information about udev and device links in /dev to bugscript output.

 -- martin f. krafft <madduck@debian.org>  Tue, 05 May 2009 15:10:46 +0200

mdadm (2.6.9-3) unstable; urgency=low

  * Fix the multipath prereq patch (#516605) and make it exit after printing
    the prerequisites (closes: #526793).
  * Change my previous recommendation for postfix over to the new virtual
    package default-mta (see #522300 and #508644).
  * Enhance bugscript, which now asks to run as root (sudo/su) if invoked by
    a normal user.
  * Include MD5 sums of md-related files in initrd in bug reports.
  * Add grub2 information retrieval to bugscript.
  * Trap SIGINT and thus prevent ctrl-c from terminating the bugscript
    prematurely.

 -- martin f. krafft <madduck@debian.org>  Tue, 05 May 2009 11:46:22 +0200

mdadm (3.0~devel3-1) experimental; urgency=low

  * Initial release of DEVELOPMENT BRANCH 3.0 to experimental.

 -- martin f. krafft <madduck@debian.org>  Thu, 30 Apr 2009 11:51:39 +0200

mdadm (2.6.9-2) unstable; urgency=low

  * Fix the check of whether mdadm.conf defines all devices known to the
    system; thanks Cristian Ionescu-Idbohrn (closes: #525655).
  * No longer pass -k to modprobe, which has been deprecated for a long time;
    thanks to Jan Hudec (closes: #519999).
  * Remove Mario Joußen from the uploaders list, since his email started
    bouncing.
  * Prepare mdadm source to use quilt, with the long-term goal to switch to
    TopGit, once I find the time.
  * Cherry-pick caa0f6c & 667e66d from Neil into a quilt patch to fix gcc-4.4
    compiler issues (closes: #505375).

 -- martin f. krafft <madduck@debian.org>  Sun, 26 Apr 2009 16:08:28 +0200

mdadm (2.6.9-1) unstable; urgency=low

  * New upstream release.
  * Do not set -eu in the bugscript to maximise information output in the case
    of errors.
  * Make initramfs script depend on multipath to ensure its script is run
    before ours (closes: #516605).
  * Provide an alternative (postfix) for mail-transport-agent (closes:
    #522300). I chose postfix because that's the only one I could recommend,
    and since the alternative does not affect people who already have an MTA
    installed, or have a preference, it won't affect them.
  * Honour debconf pre-selection of mdadm/initrdstart (closes: #516802).
  * Incorporate patch from Adrian Bridgett: the initramfs hook now checks to
    see if all known arrays are listed in mdadm.conf and issues a warning if
    this is not the case (closes: #519328).
  * Make checkarray skip over arrays still marked auto-read-only
    (closes: #510641).
  * Add cron.daily snippet from Paul Slootman to run one-shot scans every day
    to ensure that failed arrays don't go unnoticed (closes: #497949).
  * Bumped Standards-Version to 3.8.1; no changes necessary.

 -- martin f. krafft <madduck@debian.org>  Sat, 25 Apr 2009 19:04:47 +0200

mdadm (2.6.8-12-gb47dff6-2) unstable; urgency=low

  * Brown paper bag release: I built from the wrong branch which caused some
    Debian-specific changes not to get into the package. Thus build fixes it.

 -- martin f. krafft <madduck@debian.org>  Mon, 16 Feb 2009 12:15:37 +0100

mdadm (2.6.8-12-gb47dff6-1) unstable; urgency=low

  * New upstream release.
    - better checks asprintf() return codes, thanks to patch from Dustin
      Kirkland (closes: #509167).
  * Fix start/stop runlevels in header of mdadm monitor init.d script
    (closes: #514923).
  * Use modprobe -q instead of --syslog from initramfs (closes: #502988).

 -- martin f. krafft <madduck@debian.org>  Mon, 16 Feb 2009 11:07:18 +0100

mdadm (2.6.7.2-1) unstable; urgency=low

  * New upstream release, created for Debian lenny:
    - fixes assembly of arrays that are being reshaped (closes: #512475)
    - this bug was also responsible for other assembly problems
      (closes: #498505, #499643, #496334)
    Again, many thanks to Neil Brown for being such an awesome upstream.

  * Documentation updates:
    - Actually install David Pashley's blog post added in 2.6.7.1-1, and
      register it with doc-base.
    - Update md.txt to version 2.6.26 (the lenny kernel).
    - Add a dump of a website detailing md superblock formats.
    - Register FAQ, md.txt, RAID5-vs-RAID10, README.recipes with doc-base
    - Cherry-picked UID/UUID typo in mdadm.conf(5) manpage fix (commit
      0e69da7) (closes: #506245).

  * Added Italian debconf translation; thanks Luca Monducci (closes: #506572).

 -- martin f. krafft <madduck@debian.org>  Tue, 03 Feb 2009 21:28:34 +0100

mdadm (2.6.7.1-1ubuntu16) maverick; urgency=low

  * debian/initramfs/hook: Added following code (invoked on update-initramfs)
    (LP: #617725):
    - create a mdadm.conf if it is not found in /etc and copy it in initramfs
    - update an existing mdadm.conf in the initramfs if it does'nt include
      a definition of any array
    - warn the user if the definition of an active array is not found in the
      initramfs/etc/mdadm.conf

 -- Surbhi Palande <surbhi.palande@canonical.com>  Mon, 13 Sep 2010 18:59:03 +0300

mdadm (2.6.7.1-1ubuntu15) lucid; urgency=low

  * Rename debian/mdadm.vol_id.udev to debian/mdadm.mdadm-blkid.udev so that
    the rules file ends up with a more reasonable name following changes in
    debhelper 7.4.2, and adjust the initramfs hook to match (LP: #493772).
  * Build-depend on debhelper 7.4.2.

 -- Colin Watson <cjwatson@ubuntu.com>  Sat, 12 Dec 2009 14:36:53 +0000

mdadm (2.6.7.1-1ubuntu14) lucid; urgency=low

  * Fix boot_degraded handling during installation (LP: #462258):
    - Source /lib/preseed/preseed.sh in check.d/root_on_raid.
    - Change mdadm/boot_degraded default in templates file to match the
      apparently-intended behaviour (i.e. false), and stop overriding
      debconf preseeding if BOOT_DEGRADED is not already set in the
      initramfs configuration file.

 -- Colin Watson <cjwatson@ubuntu.com>  Sun, 15 Nov 2009 17:53:53 -0600

mdadm (2.6.7.1-1ubuntu13) karmic; urgency=low

  * Do not test array state for partitions, which won't exist if the
    array is inactive and don't have a state to test.  LP: #431064.

 -- Scott James Remnant <scott@ubuntu.com>  Sun, 27 Sep 2009 14:39:39 -0700

mdadm (2.6.7.1-1ubuntu12) karmic; urgency=low

  * check.d/root_on_raid: Make sure to always read all the output from
    fstab.d scripts; this may help to clear up occasional partman hangs.

 -- Colin Watson <cjwatson@ubuntu.com>  Wed, 26 Aug 2009 10:48:42 +0100

mdadm (2.6.7.1-1ubuntu11) karmic; urgency=low

  * check.d/root_on_raid: Fix spelling of "grep", and discard stderr from
    mdadm rather than from grep.

 -- Colin Watson <cjwatson@ubuntu.com>  Tue, 07 Jul 2009 17:14:27 +0100

mdadm (2.6.7.1-1ubuntu10) karmic; urgency=low

  * debian/rules: Disable warnings/errors about type-punned pointers
    breaking strict-aliasing rules - to fix the FTBFS

 -- Scott James Remnant <scott@ubuntu.com>  Tue, 12 May 2009 11:28:37 +0100

mdadm (2.6.7.1-1ubuntu9) karmic; urgency=low

  * debian/mdadm.vol_id.udev: Use blkid instead of vol_id
  * debian/control: Add dependency on appropriate version of util-linux

 -- Scott James Remnant <scott@ubuntu.com>  Tue, 12 May 2009 10:14:00 +0100

mdadm (2.6.7.1-1ubuntu8) jaunty; urgency=low

  Fix for LP: #316670
  * Incremental.c: cherry-pick upstream patch, "Fix NULL pointer oops"
    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=43aaf431f66270080368d4b33378bd3dc0fa1c96

  Fix for LP: #349971 (Thanks, Steve Beattie!)
  * debian/source_mdadm.py: apport hooks for improved bug reporting

 -- Dustin Kirkland <kirkland@ubuntu.com>  Fri, 27 Mar 2009 18:52:51 -0500

mdadm (2.6.7.1-1ubuntu7) jaunty; urgency=low

  * Update udev rules from those shipped in the udev package.
  * Watch md devices for changes with inotify.

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 20 Feb 2009 13:48:35 +0000

mdadm (2.6.7.1-1ubuntu6) jaunty; urgency=low

  * Spelling fix for --build --help, patch thanks to Bryce Harrington
    (Fixes LP: #314991) 

 -- Joseph Smidt <josephsmidt@gmail.com>  Wed, 21 Jan 2009 23:08:53 -0800

mdadm (2.6.7.1-1ubuntu5) jaunty; urgency=low

  * Depend on postfix | mail-transport-agent, to ensure we get the
    correct default MTA for Ubuntu.

 -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 15 Jan 2009 10:27:41 +0000

mdadm (2.6.7.1-1ubuntu4) jaunty; urgency=low

  * Bump build-dependency on debhelper to make sure we get the right one.
  * Bump dependency on udev as well.

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 09 Jan 2009 14:16:23 +0000

mdadm (2.6.7.1-1ubuntu3) jaunty; urgency=low

  * Update udev rules.d path to /lib/udev/rules.d, (LP #314879) and add
    versioned dependency on udev accordingly.
  * Add versioned breaks on udev to make sure we do the upgrade
    in the correct order.

 -- Soren Hansen <soren@ubuntu.com>  Fri, 09 Jan 2009 13:46:11 +0100

mdadm (2.6.7.1-1ubuntu2) jaunty; urgency=low

  * Switch to using incremental assembly, dropping requirement for
    watershed.  Some kittens may be harmed as part of this upload, please
    report any felicide.

 -- Scott James Remnant <scott@ubuntu.com>  Mon, 05 Jan 2009 16:56:54 +0000

mdadm (2.6.7.1-1ubuntu1) jaunty; urgency=low

  * This merge should solve the critical bug: LP: #282492.
  * Merge from debian unstable, remaining changes:
   * config.c, Assemble.c: retrieve the returned value from asprintf,
     and assert; should prevent mdadm from segfaulting if there is not enough
     memory available; Debian Bug #509167.
   * debian/README.initramfs-transition, debian/README.upgrading-2.5.3,
     debian/README.Debian: drop Debian-specific documentation.
   * debian/mkconf: initialize variable.
   * debian/mdadm-startall, debian/mdadm-startall.8, debian/mdadm.links,
     debian/mdadm.manpages, debian/mdadm-startall.sgm: dropped, not used
     in Ubuntu (thus dropping the build-dep on docbook-to-man).
   * debian/mdadm.preinst, debian/mdadm.udev: udev enablement, remove the
     Debian init script.
   * debian/mdadm.templates, debian/mdadm-udeb.templates: Ubuntu puts the
     debconf template questions in the udeb.
   * debian/mdadm.postrm: drop warnings in the initramfs update.
   * 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 boot.
   * debian/mdadm-udeb.dirs: udeb packaging for installer.
   * debian/mdadm.dirs: install init-premount script.
   * debian/control: maintainer updates, no need for docbook since we dropped
     the manpages that needed it, we need specific udev and initramfs-tools
     versions that don't ship 'mdrun'.
   * debian/mdadm-raid: drop, since we have a udev rule that automatically
     runs "mdadm --assemble --scan --no-degraded", activating any non-degraded
     device as their components are detected.
   * debian/rules: account for the various installation differences of the
     documentation, udev rules, the udeb, initramfs premount script, udeb
     templates and translation thereof.
   * debian/initramfs/hook: massively simplified by udev.
   * debian/install-rc, check.d/_numbers, check.d/root_on_raid: Ubuntu partman
     installer changes.

 -- Dustin Kirkland <kirkland@ubuntu.com>  Thu, 18 Dec 2008 20:56:05 -0600

mdadm (2.6.7.1-1) unstable; urgency=low

  * New upstream release, specifically created for Debian lenny to fix the RC
    bugs, which
    - fixes typo in forced assembly code (closes: #496334, #499643, #498505).
    - fixes array component size detection (closes: 500309).
    Thanks Neil Brown, mdadm upstream: you are spoiling me. :)

  * Minor fixes to documentation:
    - Add David Pashley's Rebuilding RAID blog post.
    - Add new (bugfix) version 1.40 of the newdisk script
      (/usr/share/doc/mdadm/examples/newdisk.gz) (closes: #490955).
    - Add link to Warren Togami's writeup about remote RAID-1 conversion to
      README.recipes.
    - Fix probability of survival in FAQ 4b, since I erroneously labeled the
      chance of failure as the chance of survival; thanks to Per Olofssen for
      clarification (closes: #493577).
    - Cherry-picked 6d6de2e from Neil, which adds HOMEHOST to the manpage and
      closes: #489257.

 -- martin f. krafft <madduck@debian.org>  Wed, 15 Oct 2008 10:27:23 +0200

mdadm (2.6.7-3.1) unstable; urgency=low

  * Non-maintainer upload with permission.
  * Ask mdadm/initrdstart at medium priority in chrooted environment.
    (Closes: #493099)
  * Update Swedish debconf translations.  Thanks Martin Ågren.
    (Closes: #492074)

 -- Jérémy Bobbio <lunar@debian.org>  Mon, 25 Aug 2008 22:28:53 +0200

mdadm (2.6.7-3ubuntu8) intrepid; urgency=low

  * check.d/root_on_raid: ensure that the target is a raid1 (LP: #287112)

 -- Dustin Kirkland <kirkland@ubuntu.com>  Tue, 21 Oct 2008 13:07:02 -0500

mdadm (2.6.7-3ubuntu7) intrepid; urgency=low

  * check.d/root_on_raid: add a missing 'break' in the loop checking for
    root-or-boot on RAID; was preventing the debconf question from being
    presented in some cases

 -- Dustin Kirkland <kirkland@ubuntu.com>  Thu, 09 Oct 2008 15:33:08 -0500

mdadm (2.6.7-3ubuntu6) intrepid; urgency=low

  * check.d/root_on_raid: do not write to stdout, breaks debconf
    (LP: #277153)
  * debian/mdadm.config: default BOOT_DEGRADED to false, if unset (legacy
    Ubuntu behavior), (LP: #277262)
  * debian/mdadm-udeb.templates: updated debconf question text to note that
    booting degraded is useful when you do not have access to the console

 -- Dustin Kirkland <kirkland@ubuntu.com>  Thu, 02 Oct 2008 17:09:57 -0500

mdadm (2.6.7-3ubuntu5) intrepid; urgency=low

  * Fixes for LP: #268580
    - debian/mdadm-udeb.dirs: add lib/partman for the check script
    - debian/mdadm.config: don't initialize BOOT_DEGRADED to false
    - debian/rules: install the check script, put the boot_degraded debconf
      question in the mdadm-udeb
    - debian/mdadm.templates, debian/mdadm-udeb.templates: move the
      boot_degraded question to the udeb
    - debian/po/POTFILES.in: add the new mdadm-udeb.templates
    - debian/install-rc: install the check script, copied from partman-target
    - check.d/_numbers, check.d/root_on_raid: new script to check if / or
      /boot is on an md device and if so, prompt for BOOT_DEGRADED in the
      installer
    - debian/mdadm.config: initialize BOOT_DEGRADED to ""

 -- Dustin Kirkland <kirkland@ubuntu.com>  Sat, 13 Sep 2008 11:09:09 -0400

mdadm (2.6.7-3ubuntu4) intrepid; urgency=low

  * debian/mdadm.templates, debian/mdadm.config, debian/mdadm.postinst,
    debian/po/templates.pot: added debconf support for BOOT_DEGRADED
    configuration (LP: #259127).
  * debian/po/*po: autogenerated translation placeholders for the debconf
    templates questions.

 -- Dustin Kirkland <kirkland@ubuntu.com>  Mon, 18 Aug 2008 11:08:56 +0100

mdadm (2.6.7-3ubuntu3) intrepid; urgency=low

  * debian/initramfs/init-premount: provide a safety net, interactive prompt
    on boot before dropping to busybox shell if the RAID is degraded; prompt
    times out after 15 seconds, (LP: #257568).

 -- Dustin Kirkland <kirkland@ubuntu.com>  Wed, 13 Aug 2008 14:02:29 -0500

mdadm (2.6.7-3ubuntu2) intrepid; urgency=low

  [ Dustin Kirkland ]
  * debian/initramfs/init-premount: If mounting of root fails, allow the user
    to optionally boot in degraded mode (LP: #120375).

  [ Kees Cook ]
  * debian/initramfs/init-premount: silently scan for failed arrays.

 -- Kees Cook <kees@ubuntu.com>  Mon, 28 Jul 2008 13:03:47 -0700

mdadm (2.6.7-3ubuntu1) intrepid; urgency=low

  * Merge from debian unstable, remaining changes:
   * md activation:
    - We now have a single udev rule for both the real system and the
      initramfs, since doing things differently there will only result in bugs
      and confusion.
    - This rule runs "mdadm --assemble --scan --no-degraded", automatically
      activating any non-degraded device as their components are detected.
    - Drop the mdadm-raid init script, since this does the same thing.
    - Also drop mdadm-startall which uses the mdadm-raid init script, and its
      associated sgml file (thus dropping the build-dep on docbook-to-man)
    - Simplify the configuration, since we always autostart all devices so do
      not need to specify any required root devices, etc.
    - Since udev autostarts arrays, much of the initramfs script can be
      dropped.
   * Depend on initramfs-tools, specifically a version that doesn't ship
     the mdrun script. and a version that supports the mountfail functionality,
     see below. This way we can clean out a lot of the upgrade handling
     from the initramfs hook.
   * Just get initramfs to load the modules for us
   * Create init-premount hook script for the initramfs, to provide
     information at boot, if the root device is not functional.
  * Retrieve the returned value from asprintf, and add an assertion.
    This should prevent mdadm from segfaulting if there is not enough
    memory available.

 -- Luke Yelavich <themuso@ubuntu.com>  Tue, 15 Jul 2008 14:49:26 +0100

mdadm (2.6.7-3) unstable; urgency=low

  * Correct credits in the NEWS file: Suse authored the udev rules, not Ubuntu
    (who use the same file without credit).

 -- martin f. krafft <madduck@debian.org>  Sat, 05 Jul 2008 12:22:58 +0200

mdadm (2.6.7-2) unstable; urgency=low

  * Remove mdrun completely.
  * Import udev vol_id handling from Suse, and thus finally export
    /dev/disk/by-id/* and /dev/disk/by-uuid symlinks (closes: #435983).
  * Update upstream URLs in copyright and watch file (closes: #488364).
  * Bump Standards-Version to 3.8.0; no changes required.
  * Add mdadm homepage link to debian/control.

 -- martin f. krafft <madduck@debian.org>  Wed, 02 Jul 2008 11:13:18 +0200

mdadm (2.6.7-1) unstable; urgency=low

  * New upstream version, which
    - fixes a segfault when reading /proc/mdstat (closes: #462154).
    - fixes a possible bug with v1 bitmap space allocation (closes: #474548).
    - supports large files for loop assembly (closes: #463769).
  * Moved mdadm-raid init.d script to position S60 (from S50) for runlevels
    0 and 6, so that arrays get stopped after cryptdisks-early; thanks to
    J.M.Roth (closes: #486012).
  * Fixed a typo in checkarray; thanks to Helmut Grohne (closes: #445540).
  * Updated debconf translations:
    - Spanish; thanks to Javier Fernández-Sanguino (closes: #477920).
    - Basque; thanks to Piarres Beobide (closes: #478676).
  * Updated logcheck rule so that it matches mdadm log entries with and without
    PID (2.6.5 introduces PIDs in the messages).

 -- martin f. krafft <madduck@debian.org>  Wed, 25 Jun 2008 17:31:15 +0200

mdadm (2.6.4-2ubuntu1) intrepid; urgency=low

  * Merge from debian unstable, remaining changes:
   * md activation:
    - We now have a single udev rule for both the real system and the
      initramfs, since doing things differently there will only result in bugs
      and confusion.
    - This rule runs "mdadm --assemble --scan --no-degraded", automatically
      activating any non-degraded device as their components are detected.
    - Drop the mdadm-raid init script, since this does the same thing.
    - Also drop mdadm-startall which uses the mdadm-raid init script, and its
      associated sgml file (thus dropping the build-dep on docbook-to-man)
    - Simplify the configuration, since we always autostart all devices so do
      not need to specify any required root devices, etc.
    - Drop the deprecated mdrun entirely.
    - Since udev autostarts arrays, much of the initramfs script can be
      dropped.
   * Install a new udev rule at 65 which runs vol_id on clean raid arrays.
     This will cause lvm, etc. to be run (since there is vol_id information
     present for the enclosed filesystem).
   * Depend on initramfs-tools, specifically a version that doesn't ship
     the mdrun script. and a version that supports the mountfail functionality,
     see below. This way we can clean out a lot of the upgrade handling
     from the initramfs hook.
   * Just get initramfs to load the modules for us
   * Create init-premount hook script for the initramfs, to provide
     information at boot, if the root device is not functional.

 -- Luke Yelavich <luke.yelavich@canonical.com>  Tue, 03 Jun 2008 14:59:18 +1000

mdadm (2.6.4-2) unstable; urgency=low

  * Adjusted logcheck rules to follow kernel changes; thanks to Frédéric
    Brière (closes: #462478).
  * Debconf templates and debian/control reviewed by the debian-l10n-
    english team as part of the Smith review project. Closes: #463673
  * Debconf translation updates (thanks to Christian Perrier for compiling
    them):
    * Japanese. Closes: #464438
    * Galician. Closes: #464454
    * French. Closes: #465984
    * Czech. Closes: #466306
    * Dutch. Closes: #466543
    * Russian. Closes: #466577
    * Portuguese. Closes: #466794
    * German. Closes: #466989
    * Vietnamese. Closes: #467118
  * New debconf translations:
    * Finnish. Closes: #468048
  * Fixed bashism in mdadm-raid init.d script; thanks to Raphael Geisser
    (closes: #471874).
  * Do not output warning when run from cron and no arrays are found
    (closes: #474542).
  * Add doc-base registration file; thanks to Roberto C. Sanchez
    (closes: #451684).
  * Reschedule "mdadm Sunday" to 00:57 instead of 01:06 to prevent double
    invocation on DST change (closes: #449244).
  * Bump DH compatibility level to 6; no changes required.

 -- martin f. krafft <madduck@debian.org>  Fri, 11 Apr 2008 10:48:45 +0200

mdadm (2.6.4-1) unstable; urgency=low

  * New upstream release.
  * Apply patch by Petter Reinholdtsen to fix dependency loop in
    init.d script (closes: #460256).
  * Bump Standards-Version to 3.7.3; no changes needed.

 -- martin f. krafft <madduck@debian.org>  Mon, 14 Jan 2008 12:47:14 +0100

mdadm (2.6.3+200709292116+4450e59-3ubuntu3) hardy; urgency=low

  * debian/initramfs/init-premount: Make sure the script exists when it is called
    with mountfail.

 -- Luke Yelavich <luke.yelavich@canonical.com>  Mon, 18 Feb 2008 12:10:40 +1100

mdadm (2.6.3+200709292116+4450e59-3ubuntu2) hardy; urgency=low

  * Create init-premount hook script for the initramfs, to provide
    information at boot, if the root device is not functional.
  * Tightened initramfs-tools dependency.

 -- Luke Yelavich <themuso@ubuntu.com>  Tue, 05 Feb 2008 14:41:18 +1100

mdadm (2.6.3+200709292116+4450e59-3ubuntu1) hardy; urgency=low

  * Merge from debian unstable, remaining changes:
   * md activation:
    - We now have a single udev rule for both the real system and the
      initramfs, since doing things differently there will only result in bugs
      and confusion.
    - This rule runs "mdadm --assemble --scan --no-degraded", automatically
      activating any non-degraded device as their components are detected.
    - Drop the mdadm-raid init script, since this does the same thing.
    - Also drop mdadm-startall which uses the mdadm-raid init script, and its
      associated sgml file (thus dropping the build-dep on docbook-to-man)
    - Simplify the configuration, since we always autostart all devices so do
      not need to specify any required root devices, etc.
    - Drop the deprecated mdrun entirely.
    - Since udev autostarts arrays, much of the initramfs script can be
      dropped.
   * Install a new udev rule at 65 which runs vol_id on clean raid arrays.
     This will cause lvm, etc. to be run (since there is vol_id information
     present for the enclosed filesystem).
   * Depend on initramfs-tools, specifically a version that doesn't ship
     the mdrun script.  This way we can clean out a lot of the upgrade handling
     from the initramfs hook.
   * Just get initramfs to load the modules for us

 -- Scott James Remnant <scott@ubuntu.com>  Wed, 12 Dec 2007 22:35:09 +0000

mdadm (2.6.3+200709292116+4450e59-3) unstable; urgency=low

  * Patch by Jérémy Bobbio which completes the fix for #444682.

 -- martin f. krafft <madduck@debian.org>  Mon, 01 Oct 2007 16:16:19 +0100

mdadm (2.6.3+200709292116+4450e59-2) unstable; urgency=low

  * Patch the routine loading v1 superblocks to fix a segfault on amd64
    (closes: #444682).

 -- martin f. krafft <madduck@debian.org>  Sun, 30 Sep 2007 14:10:41 +0100

mdadm (2.6.3+200709292116+4450e59-1) unstable; urgency=low

  * New merge from upstream @4450e59ffaf75623fa4261e244b0717a7463aa84
    - makes "--write-mostly" effective when re-adding a device to an array.
      (closes: #442874).
  * Do not call update-initramfs -k all, it can be set via
    /etc/initramfs-tools/update-initramfs.conf (closes: #439334).
  * Depend on udev|makedev instead of just makedev and invoke /dev/MAKEDEV,
    not /sbin/MAKEDEV (closes: #436998).
  * De-escalate the initramfs hook warning about an "emergency procedure" and
    simply note that this involves initramfs assembling arrays it finds
    automatically at boot. Also added a FAQ entry on how to turn off the init
    script warning when no arrays are found (closes: #434934).
  * Add --scan to the single-device-assembly-codepath in the initramfs
    local-top script; thanks to Mario 'BitKoenig' Holbe for the patch
    (closes: #440703).
  * Use short option in initramfs script mkdir call, so make it klibc-utils
    compatible; thanks maximilian attems for the patch (closes: #443436).
  * Handle module name synonyms in initramfs hook script (closes: #432585).

 -- martin f. krafft <madduck@debian.org>  Sat, 29 Sep 2007 21:21:25 +0100

mdadm (2.6.2-2) unstable; urgency=low

  * Fix typos in md(4) manpage; thanks Jeroen (closes: #425576).
  * Make init script not report failure when there are no arrays defined in
    config file.
  * Add /usr/share/doc/mdadm/examples/newdisk, a script to integrate
    a replacement disk into an existing array with minimal effort; will remain
    in examples/ until I had a chance to really test and understand it. Thanks
    to Arno van Amersfoort (closes: #427880).
  * Does some sanity checking for proper format of level= arguments in
    mdadm.conf and bails if an error is found. Since the RAID levels are used
    verbatim as module names, a discrepancy might lead to an unusable system.
    Instead, we thus use the emergency fallback. Thanks to Andrew
    Sackville-West for spotting this and helping me with the fix.

 -- martin f. krafft <madduck@debian.org>  Tue, 10 Jul 2007 09:59:45 +0200

mdadm (2.6.2-1ubuntu2) gutsy; urgency=low

  * Install 65-mdadm.vol_id.rules into the udeb so that we have UUID
    symlinks in the installer.

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 13 Jul 2007 10:13:51 +0100

mdadm (2.6.2-1ubuntu1) gutsy; urgency=low

  * Merge from debian unstable:
    - various Debian and Ubuntu changes dropped in favour of the changes
      outlined below.

  * md activation:
    - We now have a single udev rule for both the real system and the
      initramfs, since doing things differently there will only result in bugs
      and confusion.
    - This rule runs "mdadm --assemble --scan --no-degraded", automatically
      activating any non-degraded device as their components are detected.
    - Drop the mdadm-raid init script, since this does the same thing.
    - Also drop mdadm-startall which uses the mdadm-raid init script, and its
      associated sgml file (thus dropping the build-dep on docbook-to-man)
    - Simplify the configuration, since we always autostart all devices so do
      not need to specify any required root devices, etc.
    - Drop the deprecated mdrun entirely.
    - Since udev autostarts arrays, much of the initramfs script can be
      dropped.

  * Install a new udev rule at 65 which runs vol_id on clean raid arrays.
    This will cause lvm, etc. to be run (since there is vol_id information
    present for the enclosed filesystem).

  * Depend on initramfs-tools, specifically a version that doesn't ship
    the mdrun script.  This way we can clean out a lot of the upgrade handling
    from the initramfs hook.
  * Just get initramfs to load the modules for us

 -- Scott James Remnant <scott@ubuntu.com>  Wed, 11 Jul 2007 10:31:39 +0100

mdadm (2.6.2-1) unstable; urgency=low

  * New upstream release
    - new options --fail detach and --remove faulty can be used to fail and
      remove devices that are no longer physically present (closes: #416512).
    - --help output now goes to stdout (closes: #416653).
    - plenty of manpage fixes, thanks Peter Samuelson (closes: #414688).
  * Incorporated patch by Mikko Rasa to fix detecting of raid6 (and raid10)
    devices with --scan (closes: #421915).

 -- martin f. krafft <madduck@debian.org>  Mon, 21 May 2007 14:25:43 +0200

mdadm (2.6.1-1) unstable; urgency=low

  * Release to unstable.
  * Start arrays read-only in initramfs to prevent syncing and hence enable
    resuming/freezing. The arrays will automatically sync as soon something
    writes to it; thanks to Tim Dijkstra, Neil Brown, and Luis Rodrigo
    Gallardo Cruz (closes: #415441).
  * mkconf now tries to preserve existing values for DEVICE, CREATE and
    HOMEHOST (in addition to MAILADDR, which it preserved previously already).
    PROGRAM is preserved but only added to mdadm.conf if it occured in the
    previously existing configuration file.
  * startall is now mdadm-startall and lives in /sbin, thanks to Eduard Bloch.
    It now can handle existing mdadm.conf files much more gracefully, mostly
    thanks to the above mkconf enhancements (closes: #415336).

 -- martin f. krafft <madduck@debian.org>  Sat, 05 May 2007 16:12:29 +0200

mdadm (2.6.1-1~exp.5) experimental; urgency=low

  * Fix mdadm.conf typo; thanks Tim Phipps (closes: #416626).
  * Execute udevtrigger after assembly of arrays during initramfs processing;
    thanks to Michael Prokop (closes: #416658).

 -- martin f. krafft <madduck@debian.org>  Sat, 31 Mar 2007 12:12:27 +0200

mdadm (2.6.1-1~exp.4) experimental; urgency=low

  * Incorporate patches by Peter Samuelson fixing several typography as well
    as typesetting issues in the manpages. Thanks a lot! (closes: #414688)

 -- martin f. krafft <madduck@debian.org>  Tue, 13 Mar 2007 19:26:37 +0100

mdadm (2.6.1-1~exp.3) experimental; urgency=low

  * Patch by Jørn V. Christensen to properly handle multiple email addresses
    for the MAILADDR setting (closes: #413330).

 -- martin f. krafft <madduck@debian.org>  Mon,  5 Mar 2007 11:19:18 +0000

mdadm (2.6.1-1~exp.2) experimental; urgency=low

  * Updated debconf translations:
    - Galician by Jacobo Tarrio (closes: #412203).

 -- martin f. krafft <madduck@debian.org>  Sat, 24 Feb 2007 16:41:16 +0100

mdadm (2.6.1-1~exp.1) experimental; urgency=low

  * New upstream release, targeted at experimental until etch is out:
    - adds --syslog option (closes: #402457).
    - now can --wait for sync activity to finish (closes: #328197).
    - for other changes, please see /usr/share/doc/mdadm/changelog.gz
  * Updated debconf translations:
    - Portuguese by Rui Branco (closes: #411745).

 -- martin f. krafft <madduck@debian.org>  Thu, 22 Feb 2007 16:35:16 +0100

mdadm (2.5.6-9) UNRELEASED; urgency=low

  * More logcheck filters to prevent redundant information logged by mdadm
    --syslog.
  * Improved mdadm-raid init script to correctly output status information for
    drives that are initialising or adding spares.

 -- martin f. krafft <madduck@debian.org>  Thu, 11 Jan 2007 16:05:12 +0100

mdadm (2.5.6-8) unstable; urgency=low

  * Hard-code path to /sbin/mdadm binary rather than searching the $PATH. This
    closes: #403307 and should be a little more robust in the presence of
    installations of mdadm in /usr/local.
  * Made the bugscript a little more failure-resilient.
  * Added more documentation.

 -- martin f. krafft <madduck@debian.org>  Mon,  8 Jan 2007 02:04:25 +0100

mdadm (2.5.6-7ubuntu5) feisty; urgency=low

  * Rename 70-mdadm.rules to 85-mdadm.rules

 -- Scott James Remnant <scott@ubuntu.com>  Fri, 30 Mar 2007 18:04:30 +0100

mdadm (2.5.6-7ubuntu4) feisty; urgency=low

  * Specify --no-degraded argument to mdadm in initramfs; this
    can be overridden by setting MD_DEGRADED_ARGS to some nonempty value
    (eg, a single space).  This ought to fix race problems where RAIDs are
    assembled in degraded mode far too much. (LP #75681 and many dupes.)

 -- Ian Jackson <iwj@ubuntu.com>  Mon, 12 Feb 2007 18:14:39 +0000

mdadm (2.5.6-7ubuntu3) feisty; urgency=low

  * Provide udev rules for md devices, to run mdadm -As.
  * Rerun local-top in initramfs at relevant points when md devices seen,
    from udev.  (Instead of the normal rule, above.)  This is a bit
    heavyweight but at least it means that all of the existing logic for
    deciding which arrays to activate should still work.
  * Revert 2.5.6-7ubuntu2.  This udev-event-based approach is the correct
    fix.

 -- Ian Jackson <iwj@ubuntu.com>  Tue,  6 Feb 2007 22:07:25 +0000

mdadm (2.5.6-7ubuntu2) feisty; urgency=low

  * Make sure to call udevsettle in the initramfs script so devices have a
    chance of appearing.

 -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue,  6 Feb 2007 15:31:25 +0100

mdadm (2.5.6-7ubuntu1) feisty; urgency=low

  * Merge from debian unstable, remaining changes:
    - same as 2.5.6-6ubuntu1.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Sun, 17 Dec 2006 21:37:23 -0800

mdadm (2.5.6-7) unstable; urgency=low

  * Only parse ARRAY lines from configuration file when collecting the array
    pairs. Thanks to Daniel Dehennin for the bug report and suggested fix
    (closes: #402106).
  * Prevent modules from being loaded during initramfs time if no arrays are
    to be assembled at this stage.
  * Export DAEMON_OPTIONS to /etc/default/mdadm, which gets passed to the
    mdadm daemon on startup from the init.d script. The value is set to
    -y/--syslog by default, and will get incorporated into debconf in a future
    version; thanks for the idea by Alex Owen (closes: #401696).
  * Incorporate patch by upstream to fix handling of --syslog long option
    (closes: #402457).
  * Added logcheck filters for new syslog entries by mdadm monitoring daemon.
  * Added Spanish debconf translation by Javier Fernández-Sanguino
    (closes: #402681).

 -- martin f. krafft <madduck@debian.org>  Tue, 12 Dec 2006 11:49:52 +0100

mdadm (2.5.6-6ubuntu1) feisty; urgency=low
  
  * Merge from debian unstable:
    * debian/control: Depends: udev (>= 0.79-0ubuntu22).
      (see 1.12.0-1ubuntu4)
    * debian/mdadm.postinst: clean up mdadm-raid rcS.d symlinks.
      (see 1.12.0-1ubuntu2)
    * debian/mdadm-raid: log_problem -> log_dev change (workaround that needs
      to be reverted).
      (see 2.5.5-1ubuntu2)
    * use lstat in mdopen.c.
      (see 2.4.1-6ubuntu1)
    * debian/mdrun: mknod only if devices have not been created yet.
    * debian/initramfs/hook: prereq udev.
    * debian/initramfs/script.local-top: prereq udev instead of udev_helper.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Tue, 21 Nov 2006 06:41:32 +0100

mdadm (2.5.6-6) unstable; urgency=medium

  * Fixed a typo in the debconf control script which would cause failures with
    a dash shell; thanks to Santiago Garcia Mantinan for reporting this, and
    Andreas Metzeler for providing a solution (closes: #399315).

 -- martin f. krafft <madduck@debian.org>  Mon, 20 Nov 2006 15:02:34 +0800

mdadm (2.5.6-5ubuntu2) feisty; urgency=low

  * Use bash in maintainer scripts:
    * mdadm.config requires it at the moment due to "echo -e" usage that is
      not standard across all shell implementations.
    * mdadm.* for failsafe.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Tue, 21 Nov 2006 06:15:04 +0100

mdadm (2.5.6-5ubuntu1) feisty; urgency=low

  * Merge from debian unstable.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Mon, 20 Nov 2006 06:56:19 +0100

mdadm (2.5.6-5) unstable; urgency=low

  * Prevent initramfs hook from exiting prematurely when VERBOSE=false.
  * Moved debconf question about arrays to start by initramfs to high
    priority.

 -- martin f. krafft <madduck@debian.org>  Mon, 13 Nov 2006 11:24:21 +0100

mdadm (2.5.6-4) unstable; urgency=low

  * Actually remove mdadm.conf on purge; previously, the generation of
    a temporary file for initramfs would screw up the purging; thanks to
    Fabrice Lorrain for the report (closes: #398088).

 -- martin f. krafft <madduck@debian.org>  Sat, 11 Nov 2006 20:07:55 +0100

mdadm (2.5.6-3) unstable; urgency=low

  * Fix a syntax error in mdadm-raid script.

 -- martin f. krafft <madduck@debian.org>  Thu,  9 Nov 2006 15:47:51 +0100

mdadm (2.5.6-2) unstable; urgency=low

  * Small fixes to mkconf, now returns 255 instead of -1.
  * Added /usr/share/mdadm/startall, a helper script to facilitate starting
    all arrays when booting from rescue/live media. It overrides AUTOSTART in
    /etc/default/mdadm and starts arrays even if the variable is set to
    a false value.

 -- martin f. krafft <madduck@debian.org>  Thu,  9 Nov 2006 14:44:35 +0100

mdadm (2.5.6-1) unstable; urgency=low

  * New upstream release:
    - added note to mdadm(8)/--metadata about overriding the default in
      mdadm.conf (closes: #396914).
    - fixed problems that could cause infinite loop with auto assemble. Thanks
      to Dan Pascu for pointing this out (closes: #396582).
    - fixed problems with bitmap file names lost after reading from
      configuration file.
  * Merged patch by Dan Pascu to nicely handle situations where a degraded
    array only has one drive left nicely by the mdadm-raid script.
  * Updated Japanese debconf translation; thanks to Hideki Yamane
    (closes: #396400).

 -- martin f. krafft <madduck@debian.org>  Thu,  9 Nov 2006 00:47:45 +0100

mdadm (2.5.5-1ubuntu2) feisty; urgency=low

  * Make mdadm-raid not to fail if executed and there are no raids to start,
    ya know.. we might want to install or upgrade before creating 31337 raid
    devices.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Thu, 16 Nov 2006 11:53:09 -0800

mdadm (2.5.5-1ubuntu1) feisty; urgency=low

  * Merge from debian unstable.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Wed, 15 Nov 2006 12:35:19 -0800

mdadm (2.5.5-1) unstable; urgency=low

  * New upstream release:
    - fixes the build problems on several architectures (closes: #393314) by
      including the contents of linux/blkpg.h literally, not via #include.
    - optimises bitmap file use on 64bit systems.
    - does not error out anymore when trying to assemble an already assembled
      array without a corresponding /dev device node.
    - does not report an error if --assemble --scan only finds already running
      arrays.
    - fixes several bugs related to RAID10 and the new offset layout.
    - improves error message when a wrong '--update' option is given.
  * Added FAQ entries about partitionable arrays.
  * chroot detection now also works for 2.6.18 and beyond (c.f. kernel commit
    778c1144771f0064b6f51bee865cceb0d996f2f9).
  * Now recommends module-init-tools.
  * Hides ugly errors during configuration in the absense of module-init-tools
    or initramfs-tools.
  * Send udev events for arrays assembled by the mdadm-raid init.d script.
    This does not close #394193 but it's a good addition anyway. I am not
    sending these events from the initramfs as well because it would be
    non-trivial to ensure that an event doesn't get sent twice for a given
    array.
    Anyway, this is all a hack until the kernel sends online/offline events to
    udev. See #394193.
  * Added more RAID10 information to the FAQ.
  * Added filters to logcheck for regular events, even by the md driver; also
    promoted messages about non-fresh components to security events.
  * Hide informational messages unless VERBOSE is set to a true value in
    /etc/default/mdadm.

 -- martin f. krafft <madduck@debian.org>  Thu, 26 Oct 2006 22:35:24 +0200

mdadm (2.5.4-1) unstable; urgency=low

  * New upstream release:
    - --examine now reports chunk size also for RAID6 and RAID10
    - fix endianness issues with v1 superblocks (closes: #385726) and bitmap
      metadata.
    - improved message when mdadm detects similar superblocks
      (closes: #385951).
    - documents that the automatic update of the super-minor field in the
      superblock when using a 2.6 kernel only applies to RAID levels 1 and
      higher. RAID0 array superblocks must be manually updated
      (closes: #386315, #388172).
    - removes partition table from any whole device added to an array.
    - allow --auto=yes to specify a number; if mdadm determines from the
      device name that you want a partitionable array, this number determines
      the number of sub-device nodes to create.
  * Removed patch previously used to fix #385951 because it's not adequate.
    See the bug log for reasons.

 -- martin f. krafft <madduck@debian.org>  Fri, 13 Oct 2006 08:32:20 +0200

mdadm (2.5.3.git200608202239-8) unstable; urgency=low

  * This revision is dedicated to Peter Samuelson for his RAID10 expertise^W
    educated guess^W^W pure luck. (:
  * Now writes minimal mdadm.conf file even if the MD subsystem has not been
    loaded and the scan for arrays thus failed.
  * Now tries to ensure that the configuration file used for the initramfs
    actually defines arrays.
  * Now preserves MAILADDR from an existing mdadm.conf when generating a new
    one.
  * Documentation updates.
  * Updated debconf translations:
    - German by Mario Joußen.
    - Vietnamese by Clytie Siddall (closes: #390311).
    - Dutch by Frans Pop (closes: #390955).
    - French by Jean-Luc Coulon (closes: #391215).

 -- martin f. krafft <madduck@debian.org>  Fri,  6 Oct 2006 15:03:46 +0200

mdadm (2.5.3.git200608202239-7) unstable; urgency=medium

  * Fixed a serious bug in the debconf script which would cause the
    configuration to exit prematurely in cases when the root could not be
    determined. Since this is RC, the urgency is set to medium.
  * Updated the documentation a bit.
  * Updated debconf translations:
    - Swedish by Daniel Nylander (closes: #389040).
    - Czech by Miroslav Kure (closes: #389083).
    - Russian by Yuri Kozlov (closes: #389086).
    - Brazilian Portuguese by Felipe Augusto.

 -- martin f. krafft <madduck@debian.org>  Fri, 29 Sep 2006 16:31:44 +0200

mdadm (2.5.3.git200608202239-6) unstable; urgency=high

  * Bumping urgency to high because previous version has been in unstable for
    three days and this one really only fixes a stupid segfault:
  * Reworked the parsing of /proc/partitions and spotted a mean segfault
    (closes: #388355).

 -- martin f. krafft <madduck@debian.org>  Thu, 21 Sep 2006 15:25:21 +0200

mdadm (2.5.3.git200608202239-5) unstable; urgency=medium

  * Keeping medium urgency due to RC bug.
  * Modified the patch responsible for pruning parent devices so that
    superblocks at the end of a disk do not get interpreted twice. It now
    makes less assumptions about the exact output of /proc/partitions and
    should thus be more robust (now closes: #385951).
  * Added code that defers mdadm preconfiguration when the debconf backend is
    too old (and does not provide debconf-escape). Now configuration is
    postponed until the postinst is run in this case.

 -- martin f. krafft <madduck@debian.org>  Thu, 14 Sep 2006 11:16:39 +0200

mdadm (2.5.3.git200608202239-4) unstable; urgency=medium

  * Correct error related to an unbound variable in postinst.
  * Keeping medium urgency.

 -- martin f. krafft <madduck@debian.org>  Wed, 13 Sep 2006 20:49:33 +0200

mdadm (2.5.3.git200608202239-3) unstable; urgency=medium

  * Urgency medium because of RC bugs.
  * Add versioned dependency to debconf (closes: #385994); temporary fix until
    we find a proper fix for #386439.
  * Add patch by Steinar H. Gunderson to ensure mdadm does not interpret
    a superblock as belonging to a device when it's actually part of
    a partition on that device (closes: #385951).
  * Do not override the superblock default version in mdadm.conf to prevent
    creation of superblocks that the kernel can't handle (closes: #384614).
  * Added a note to alert people that the warning about arrays not listed in
    the configuration file is only relevant if the arrays are needed to be
    brought up by mdadm from initramfs during boot (closes: #385017).
  * Added bootloader/cmdline info to bugscript so that future bug reports via
    bug/reportbug include information on how the system is booted with respect
    to RAID (the root partition).
  * If mdadm is being configured in a chroot, it now defaults to starting all
    arrays from the initial ramdisk, rather than trying to figure out the root
    MD array (we're using /proc information, so it would be the one of the
    host, not the one of the chroot) (closes: #386468).
  * Added LSB headers to init scripts.
  * Reworked the documentation with respect to the use of "MD" and "RAID", and
    added a FAQ entry on the meaning of "MD". Thanks to Frans Pop for his
    help!
  * Updated debconf translations:
    - Czech by Miroslav Kure (closes: #384754).
    - French by Florentin Duneau (closes: #385690).
    - Russian by Yuri Kozlov (closes: #387017).

 -- martin f. krafft <madduck@debian.org>  Thu,  7 Sep 2006 14:32:04 +0200

mdadm (2.5.3.git200608202239-2) unstable; urgency=low

  * Allow ARRAY lines in configuration file to break across lines
    (closes: #384222).
  * Improved initramfs hook; now does not rely on initramfs to provide RAID
    assembly:
    - if a checked mdadm.conf file is present, use that.
    - if an unchecked mdadm.conf is present, create a temporary one
      - if that fails, use the unchecked one iff it contains at least one
        ARRAY statement. Otherwise rely on auto-generation from the initramfs
        during the book (and hope for the best).
    - if no mdadm.conf is found, create one on the fly
      - if that fails, hope that the auto-generation will work during boot
  * Improved the messages printed by the initramfs script.
  * Do not store the debconf answer for whether arrays not listed in the
    configuration file should be used.
  * Now asks again for the devices to start (preseeded with 'all') if the user
    does not want to proceed with devices not listed in the configuration
    file.

 -- martin f. krafft <madduck@debian.org>  Wed, 30 Aug 2006 16:29:07 +0200

mdadm (2.5.3.git200608202239-1) unstable; urgency=low

  * Tracking upstream git releases.
    - now the --run switch behaves as stated in the manpage. This properly
      fixes #287415
    - new version-1 partitionable arrays are now named X instead of _dX (e.g.
      0 instead of _d0) for device names like md_dX. I actually think this is
      a bug and hope upstream will use dX (e.g. d0) instead in a future
      version.
    - we specify --symlink=no and thus disable the new feature to create
      /dev/mdX symlinks to /dev/md/X devices until the entire device node mess
      is cleared up. No need to introduce yet another complicating factor at
      this stage.
  * Instead of trying to do a whole lot of magic with respect to detecting
    RAID devices to start, mdadm from now on requires a valid mdadm.conf file
    to be installed. It still tries to do what it can, but there are no
    heuristics anymore. See /usr/share/doc/mdadm/README.upgrading-2.5.3 .
  * Removed the zero-superblock warning because we require the user to sign
    off the configuration file anyway.
  * This also enables us to use mdadm.conf from the initial ramdisk and thus
    closes: #381303.
  * In case the user chooses to assemble all arrays from the initial ramdisk,
    use the new homehost feature of mdadm (closes: #381057). This will start
    only those arrays belonging to the local system, unless it is the first
    run on a system, in which case it will start all arrays and mark them as
    belonging to the local system.
  * Improved the debconf control script: integrated error messages into the
    frontends, and made it a bit smarter. Error messages can now be
    translated, and the script checks whether the user's choice is listed in
    the configuration file and only proceeds if it is, or the user chooses to
    ignore that it is not.
  * mkconf can now take a generate/force-generate parameter to write directly
    to /etc/mdadm/mdadm.conf. A second parameter specifies an alternate
    filename.
  * mkconf now outputs comments for the settings it suggests.
  * Removed all udev-related stuff. We must coexist with udev because there
    are setups that assemble arrays without mdadm, so the device nodes must be
    created by udev, if that is used.
    (closes: #382263, #382450, #383688, #383891, #383806, #382480)
    Staying at low urgency since these (RC) bugs only exist in unstable.
  * Now installs MD modules and mdadm/mdrun into initial ramdisk regardless of
    whether the hook script thinks there are devices to start. This was done
    to enable recovery from the initramfs shell.
  * Now uses 'MD' instead of 'RAID' consistently in all messages.
  * Now rebuilds initramfs for all installed kernels.
  * Now breaks the endless config loop only when the user does not see the
    question (see #381284, #381007).
  * Don't fail mdadm-raid when /dev is on a read-only filesystem
    (closes: #382876).
  * Updated debconf translations:
    - French by Florentin Duneau (closes: #382389).

 -- martin f. krafft <madduck@debian.org>  Mon, 21 Aug 2006 00:25:22 +0100

mdadm (2.5.2-10) unstable; urgency=low

  * Applied patch by upstream to fix the logic of the --run switch (see
    #287415). Thus also reverted the mdadm-raid hack used to fix the bug in
    the 2.5.2-9 upload.
  * Recognise devfs-style device nodes by fixing a regression bug in the root
    RAID autodetection code (closes: #381007), which was introduced as part of
    the fix for #380596 in the 2.5.2-9 upload. The bug is RC, but it only
    applies to unstable right now, so I am not pumping up the urgency.
    The autodetection code now doesn't care about the actual name of the array
    device, but instead only insists that it exists, is a block device, and
    recognised as an array by mdadm (mdadm --detail).
  * Added safety net to prevent endless loops in RAID autodetection. Now just
    falls back to starting all arrays from the initramfs if it fails to
    determine an acceptable array for the / filesystem in three tries
    (closes: #381284, also see #381007).
  * Added udev rules file to prevent udev from ever creating md device nodes,
    which can get in the way of mdadm (also see next item).
  * Added a workaround to the initramfs hook to deal with the problem with
    /dev/md/X device nodes when /dev/mdX is also present and version-0
    superblocks are in use (closes: #381181).
  * checkarray: correctly recognise when the kernel is too old for parity
    checks, or when there are no redundant arrays present (closes: #380746).
  * checkarray: now supports -s|--status switch to query parity check status
    for given devices.
  * checkarray: now supports -x|--cancel switch to cancel running checks.
  * mkconf: now also outputs 'MAILADDR root' and 'HOMEHOST <system>'.
  * Added README.checkarray with some information about the check process.
  * Added /usr/share/doc/mdadm/FAQ to answer some FAQs.

 -- martin f. krafft <madduck@debian.org>  Thu,  3 Aug 2006 22:54:04 +0100

mdadm (2.5.2-9) unstable; urgency=low

  * Added logcheck rules for kernel messages generated by checkarray, using
    logcheck server level.
  * Added handling of partitionable arrays to root RAID autodetection script
    (closes: #380596).
  * Forcing RAID assembly to run the arrays, working around an upstream bug
    until that's fixed (closes: #287415).
  * Updated documentation in README.initramfs-transition to include
    information related to #380089.
  * Updated debconf translations:
    - Vietnamese by Clytie Syddall, thanks!

 -- martin f. krafft <madduck@debian.org>  Mon, 31 Jul 2006 14:35:38 +0100

mdadm (2.5.2-8) unstable; urgency=low

  * Re-added rootraiddoc.97.html which was mysteriously lost (closes: #378678).
  * Catching modprobe error in case of absence of the kernel modules, or
    a non-modular kernel. Thanks to Holger Levsen.
  * Copy raid456 kernel module into initramfs, if present (closes: #380152).
  * checkarray: check for presence of active RAID arrays and give an
    appropriate error if there are none present (closes: #379019).
  * checkarray: skip sync for non-redundant devices (closes: #379352, #380424).
  * Fixing cron registration for checkarray. crontab(5) is really stupid and
    makes me think that they simply documented a bug instead of fixing it, so
    now I have to hack around it. See the cron.d file (closes: #380425).
  * Removed the code writing auto-detected devices to /var, which was silly
    since /var isn't necessarily mounted yet by the time mdadm-raid is called.
    Thanks to Maurizio Avogadro for pointing this out.
  * Add reference to BAARF to README.Debian and included the RAID5 vs RAID10
    article from the BAARF website.
  * Updated debconf translations:
    - Japanese by Hideki Yamane, thanks!
    - French by Florentin Duneau, thanks! (closes: #379511)

 -- martin f. krafft <madduck@debian.org>  Thu, 27 Jul 2006 22:49:32 +0100

mdadm (2.5.2-7) unstable; urgency=low

  * Release to unstable.

 -- martin f. krafft <madduck@debian.org>  Thu, 20 Jul 2006 17:23:23 +0100

mdadm (2.5.2-6) experimental; urgency=low

  * Adding mdrun to generated udeb. I will only remove mdrun after etch.
  * Updated debconf translations:
    - Dutch, thanks to Frans "Franzerl" Pop! (closes: #377412)
    - French, thanks to Florentin Duneau! (closes: #377968)

 -- martin f. krafft <madduck@debian.org>  Thu, 13 Jul 2006 23:11:24 +0200

mdadm (2.5.2-5) UNRELEASED; urgency=low

  * Remove the check for the lvm prereq in the initramfs hook, as #369617 is
    now fixed. Thus conflicts against initramfs-tools (<< 0.65).
  * Updated debconf translations:
    - German, thanks to Mario Joußen!
  * Added short note about maintenance in SVN to README.Debian.

 -- martin f. krafft <madduck@debian.org>  Thu, 13 Jul 2006 23:10:36 +0200

mdadm (2.5.2-4) UNRELEASED; urgency=low

  * The "it takes two to swing" release.
  * Now does not stop arrays on upgrade or remove. Thanks (and sorry) to
    Christian Pernegger (and hopefully no others).
  * Fixed small problem in debconf configuration script related to unbound
    MAIL_TO variable. Thanks to Christian Pernegger.

 -- martin f. krafft <madduck@debian.org>  Fri,  7 Jul 2006 16:59:01 +0200

mdadm (2.5.2-3) UNRELEASED; urgency=low

  * The initramfs now gets all RAID modules installed. It's a lot safer to
    have them all around, the size difference is negligible, and we still only
    load the needed ones at boot time.
  * Added /usr/share/mdadm/checkarray, which can be used to check arrays for
    parity. Also added a debconf question to let the user choose whether
    cron should run these checks (closes: #377071).
  * Only shut down arrays automatically when they've been automatically
    started (closes: #376009).
  * Make sure the user has a chance to choose the autostart feature by
    elevating the debconf priority to high (see #376009). The warning about
    reuse of RAID components has also been elevated to debconf priority high.
  * The MAIL_TO setting from /etc/default/mdadm has been removed. Instead, use
    MAILADDR in /etc/mdadm/mdadm.conf. See mdadm.conf(5). Your setting should
    be automatically migrated.
  * Now rewrites /etc/default/mdadm (but preserves settings) instead of trying
    to patch it with changes.
  * Added note to README.Debian to ensure users know that only the devices
    listed in mdadm.conf will be autostarted (see #376009).
  * Now includes latest md.txt from kernel documentation in
    /usr/share/doc/mdadm/md.txt.gz.
  * Added some more recipes to /usr/share/doc/mdadm/README.recipes.gz.
  * Updated debconf translations:
    - Swedish, thanks to Daniel Nylander!
    - Brazilian Portuguese, thanks to Felipe Augusto van de Wiel!
    - Czech, thanks to Miroslav Kure!
    - Russian, thanks to Yuri Kozlov (closes: #376181).
  * Further updates to the debconf templates; I hope the translators aren't
    going to kill me.

 -- martin f. krafft <madduck@debian.org>  Fri,  7 Jul 2006 15:09:40 +0200

mdadm (2.5.2-2) experimental; urgency=low

  * The "if it weren't for Munich's wheat beer, there'd be no" release.
  * Removed -fno-strict-aliasing from compiler options, after upstream fixed
    the bug that led to its use (see #369779, #356153). Thanks to Elimar
    Riesebieter for pointing this out (closes: #375876).
  * Moved detection of RAID devices from initramfs hook to debconf control
    file, and added a (low-priority) debconf question as to which devices
    should be started early in the boot sequence. For the cases where we
    failed to auto-detect previously (e.g. root on LVM on RAID), it's paranoid
    and suggests to start them all (closes: #375879). Thanks to Alec Berryman
    for spotting this.
  * Fixed a typo in README.experimental, which could lead to an unbootable
    system with initramfs-tools 0.64 or before. Again, thanks to Alec for
    spotting this.
  * Extended bug script to include --examine output for all components (at
    least if called by root, which hopefully should never happen. Err,
    wait...)
  * Disabled deprecation warning in mdrun until the transition is complete.
  * Reworded the debconf templates due to a new question, and also for
    readability.

 -- martin f. krafft <madduck@debian.org>  Thu, 29 Jun 2006 22:54:47 +0200

mdadm (2.5.2-1) experimental; urgency=low

  * New upstream release.
  * Implemented checks in the initramfs hooks and scripts for compatibility
    with initramfs-tools. Now we do not need a conflict anymore because
    mdadm's hooks and scripts will simply do nothing while the ones provided
    by initramfs-tools are still present.
  * Not using /bin/bash for mdrun, which I thought we'd need for read timeout
    support (for the deprecation warning). Since the -n and -t flags to the
    read shell builtin are non-POSIX, I dropped them, they were merely
    cosmetic anyway.

 -- martin f. krafft <madduck@debian.org>  Tue, 27 Jun 2006 15:06:55 +0200

mdadm (2.5.1-2) experimental; urgency=low

  * Updating dependency on initramfs-tools, which has not yet adopted to mdadm
    taking over the hooks.

 -- martin f. krafft <madduck@debian.org>  Mon, 26 Jun 2006 22:35:08 +0200

mdadm (2.5.1-1) experimental; urgency=low

  * New upstream release:
    - Really fixes return status of examine (closes: #367901).
    - Fixes a memory leak in monitor mode (closes: #372618).
    - Fixes compiler warnings and errors (closes: #373802, #356153, #369779).
    - Fix byte swapping issues (closes: #369765).
    - Now lists devices it stops (closes: #369850). This also leads to
      beautification of the init.d script's stop action.
  * Fixed RAID init script to not complain about missing logger command.

 -- martin f. krafft <madduck@debian.org>  Mon, 26 Jun 2006 00:58:36 +0200

mdadm (2.5-4) experimental; urgency=low

  * The "would you like fries with your parasite?" release.
  * Now does not require RAID support from the kernel just for package
    installation; that was silly of me, sorry (closes: Bug#370115).
  * Added version to Replaces: initramfs-tools dependency.
  * Further init.d script improvements.
  * Recommends mail-transport-agent, or the monitor daemon won't be able to
    send anything.
  * Ignores failures from modprobe in postinst when RAID modules are not
    available (closes: #370582).

 -- martin f. krafft <madduck@debian.org>  Tue,  6 Jun 2006 12:45:53 +0200

mdadm (2.5-3) experimental; urgency=low

  * Added /usr/share/doc/mdadm/README.recipes with some common usage examples.
  * Vastly improved the mdadm-raid init.d script output, and removed bashisms.

 -- martin f. krafft <madduck@debian.org>  Fri,  2 Jun 2006 00:45:06 +0200

mdadm (2.5-2) experimental; urgency=low

  * The "on her majesty's secret service" release.
  * Enabled -DDEBIAN during build, which will take care of default permissions
    on devices created by mdadm. Together with the CREATE configuration
    directive in 2.5, this now certainly closes: Bug#310241.
  * Added a patch (incorporating lib/mm/xlate.h from lvm2) to prevent direct
    access to kernel headers from userspace (closes: Bug#369765).
  * Disabled strict aliasing compiler checks until we find a better
    implementation for linked lists in C (closes: Bug#369779, Bug#356153).
  * Actually decreased the size of the udeb mdadm binary with -Os
    -fomit-frame-pointer (as suggested by Joey Hess) (closes: Bug#314370)
  * Added Replaces: initramfs-tools to communicate that we're not conflicting
    but replacing instead (see Bug#367567)
  * Updated conflict with initramfs-tools to (<< 0.63) per suggestion by the
    maintainers.

 -- martin f. krafft <madduck@debian.org>  Thu,  1 Jun 2006 20:15:17 +0200

mdadm (2.5-1) experimental; urgency=low

  * The "show me the way to the next whiskey bar" release.
  * See /usr/share/doc/mdadm/README.experimental or
    http://madduck.net/~madduck/scratch/README.experimental
  * New upstream release:
    - mails include /proc/mdstat output (closes: Bug#355882)
    - allows specification of device permissions in config (closes: Bug#310241)
  * /sbin/mdrun has been deprecated and replaced by calls to /sbin/mdadm;
    a proper deprecation warning is in place (see NEWS).
  * Moved initramfs hook and script into the package, and switched it to mdadm
    (from mdadm. Thanks to Stephen Frost for his help (closes: Bug#354144).
    This should make sure that the right minor numbers are chosen during boot
    (mainly because mdadm takes care of it all) (closes: Bug#361408).
  * Removing mdrun from the udeb (d-i patch submitted to debian-boot mailing
    list)
  * Upstream links against openssl for SHA1 support (homehost feature), which
    is a problem. An internal SHA1 implementation is provided, however, so
    I just link against that.
  * Switched init.d scripts to use LSB-compliant output.
  * Enhanced init.d script output.

 -- martin f. krafft <madduck@debian.org>  Thu,  1 Jun 2006 02:20:22 +0200

mdadm (2.4.1-6ubuntu5) edgy; urgency=low
  
  * Modify initrafms scripts to wait for devices to appear if they are not there
    yet when the script is executed on boot:
    - copy generated mdadm.conf in the initramfs (we need the UUIDs)
    - modify local-top script to wait for all UUIDs to appear before executing
      mdrun or wait a max of 3 minutes before giving up.
  (Closes Ubuntu: #52740)

  As a side effects of the above fix:
  
  * Avoid FileSystem corruption if root is on lvm on raid and raid is not
    started. LVM will find the devices that are part of the raid and use them
    bringing the data off-sync.

  Limitations:

  * It might require initramfs updates if raid UUIDs are changed. This is
    a rare corner case of relocating raids and usually who does that knows
    what he is doing.

  * We do not check if all devices for a certain raids are available but
    the machine might be booting in degraded mode for recovery and we
    shouldn't be blocking on that. Given that there is no way to know that
    this check will not be performed.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Tue, 26 Sep 2006 09:56:01 +0200

mdadm (2.4.1-6ubuntu4) edgy; urgency=low
  
  * Do not invoke init scripts with -u. Fixes dist upgrade from dapper to edgy
    mostlikely caused by /bin/sh pointing to dash.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Thu, 21 Sep 2006 20:09:41 +0200

mdadm (2.4.1-6ubuntu3) edgy; urgency=low
  
  * Do not attempt to stop raids on upgrade.
  (Closes Ubuntu: #60623)

  * Make sure to update the initramfs in postinst and postrm.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Mon, 18 Sep 2006 06:02:31 +0200

mdadm (2.4.1-6ubuntu2) edgy; urgency=low
  
  * Fix md local-top script to kick udev a bit harder to make sure that
    disk/by-uuid will have md devices too or root on md* will break.
  (Closes Ubuntu: #57607)

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Thu, 14 Sep 2006 12:10:04 +0200

mdadm (2.4.1-6ubuntu1) edgy; urgency=low

  * Merge from debian unstable, remaining changes:
    - integration with initramfs-tools,
    - autocreate devices when udev is in use,
    - use lstat in mdopen.

 -- Scott James Remnant <scott@ubuntu.com>  Tue, 11 Jul 2006 17:23:21 +0100

mdadm (2.4.1-6) unstable; urgency=low

  * The "Larry Wall doesn't use strict;" release.
  * Recommends mail-transport-agent, or the monitor daemon won't be able to
    send anything.
  * Ignores failures from modprobe in postinst when RAID modules are not
    available (closes: #370582).

 -- martin f. krafft <madduck@debian.org>  Tue,  6 Jun 2006 12:45:41 +0200

mdadm (2.4.1-5) unstable; urgency=low

  * The "never check for errors you don't know how to handle" release.
  * Now does not require RAID support from the kernel just for package
    installation; that was silly of me, sorry (closes: Bug#370115).
  * Instead of backporting single init.d fixes from the 2.5/experimental
    package, I backported both init.d scripts and therewith added
    LSB-compliant output and major improvements to the scripts. Enjoy.

 -- martin f. krafft <madduck@debian.org>  Sat,  3 Jun 2006 20:38:51 +0200

mdadm (2.4.1-4) unstable; urgency=low

  * Work around a minor debconf bug related to strict variable handling (see
    #369953, fixes: Bug#369935).
  * Fixes a typo in postinst script (closes: Bug#369935, Bug#369954).

 -- martin f. krafft <madduck@debian.org>  Fri,  2 Jun 2006 15:01:58 +0200

mdadm (2.4.1-3) unstable; urgency=low

  * Bug-fix release for unstable only; changes will be folded into the next
    experimental release.
  * Added a patch (incorporating lib/mm/xlate.h from lvm2) to prevent direct
    access to kernel headers from userspace (closes: Bug#369765).
  * Disabled strict aliasing compiler checks until we find a better
    implementation for linked lists in C (closes: Bug#369779, Bug#356153).
  * Really decreased the size of the udeb mdadm binary (closes: Bug#314370).

 -- martin f. krafft <madduck@debian.org>  Thu,  1 Jun 2006 13:12:44 +0200

mdadm (2.4.1-2) unstable; urgency=low

  * The "this took way longer than I thought" release.
  * Migrating to unstable.
  * If the init.d script creates the mdadm.conf file, it should remove it on
    purge. To accomplish this, I create a semaphore in /var/lib/mdadm if it
    was generated, and only remove the conffile on purge if the semaphore
    exists.
  * Added a little helper /usr/share/mdadm/mkconf to aid generation of
    configuration file.
  * Added a bug script to collect some important information when the user
    uses Debian bug reporting tools (such as reportbug).
  * Added a debian/watch file.

 -- martin f. krafft <madduck@debian.org>  Wed, 31 May 2006 23:07:48 +0200

mdadm (2.4.1-1) experimental; urgency=low

  * The "I'll kill that maintainer... uh, wait, it's me" release. Sorry for
    the delay, here's the long awaited new upstream release (closes:
    Bug#337903, Bug#363592), which gets rid of a bunch of functionality bugs:
    - reiserfs size does not overflow anymore (closes: Bug#318230)
    - fixed typos in manpages (closes: Bug#352798)
    Oh, and we're moving away from that arch nightmare too. Sorry for the
    confusion.
  * Experimental release, because I really don't want to be responsible for
    data loss. Though I am quite sure that the upgrade is painless, I also
    don't have access to 18 drive RAID 10 with multipath on s390 or similar
    arrangements.
  * We now make the /dev/md* devices in postinst unless /dev/md15 exists (no
    longer checking for /dev/md0), or unless devfs is in use. If udev is used,
    /dev/md15 will only exist in complex setups, so the devices will be made
    in /dev/.static by MAKEDEV, which is not really a concern. I opted against
    unconditionally calling MAKEDEV until #367407 is fixed so as to preserve
    custom permissions or owner settings. This also acknowledges the NMU
    (#299623).
    closes: Bug#310247, Bug#299623
  * Patched some of the code to make mdadm honour /etc/mdadm/mdadm.conf over
    /etc/mdadm.conf (see NEWS).
  * Fixed a couple of typos in the mdadm(8) manpage; thanks to Reuben Thomas.
    closes: Bug#345669, Bug#345667
  * Pushed Standards-Version to 3.7.2; no changes required.
  * Updated Debconf translations:
    - Vietnamese by Clytie Siddall (closes: Bug#323950)
    - Czech by Miroslav Kure (closes: Bug#360290)
    - Russian by Yuri Kozlov (closes: Bug#361116)
    - French by Eric Madesclair (closes: Bug#323988)
  * Added new Debconf translations:
    - Swedish by Daniel Nylander (closes: Bug#333486)
    - Dutch by Frans Pop (closes: Bug#344714)

 -- martin f. krafft <madduck@debian.org>  Tue, 16 May 2006 18:21:36 -0500

mdadm (1.12.0-1ubuntu5) dapper; urgency=low

  * Ship a hook for initramfs-tools as well, so we don't need to copy_exec
    from mkinitramfs itself anymore for scripts it doesn't ship.
  * Add a versioned conflict against versions of initramfs-tools that
    didn't have a "check if the hook exists before running our own version
    and exploding" check, so that upgrades don't fail as a result of this.

 -- Adam Conrad <adconrad@ubuntu.com>  Tue, 16 May 2006 16:31:07 +1000

mdadm (1.12.0-1ubuntu4) dapper; urgency=low

  * Declare a versioned-dependency on udev with the local-top script,
    just in case someone tries a partial upgrade.

 -- Scott James Remnant <scott@ubuntu.com>  Fri,  7 Apr 2006 14:56:35 +0100

mdadm (1.12.0-1ubuntu3) dapper; urgency=low

  * Ship the initramfs script ourselves.

 -- Scott James Remnant <scott@ubuntu.com>  Thu, 23 Mar 2006 18:02:42 +0000

mdadm (1.12.0-1ubuntu2) dapper; urgency=low

  * Move mdadm-raid init script to S25, so it happens before other filesystems
    are mounted but after /dev is actually available

 -- Scott James Remnant <scott@ubuntu.com>  Wed,  4 Jan 2006 17:05:49 +0000

mdadm (1.12.0-1ubuntu1) dapper; urgency=low

  * Resyncronize with Debian.

 -- Fabio M. Di Nitto <fabbione@ubuntu.com>  Mon, 28 Nov 2005 07:35:36 +0100

mdadm (1.12.0-1) unstable; urgency=low

  * New upstream release.
    (obsoletes branches: symlinks)
    (reduces branches: gcc4signedness, debian, autoscan)
  * Fixed typo in mdadm.conf(5) manpage (closes: Bug#321152).

 -- martin f. krafft <madduck@debian.org>  Sun, 24 Jul 2005 19:20:01 +0200

mdadm (1.11.0-0ubuntu1) breezy; urgency=low

  * New Upstream Release, fixes segfault with --config=partitions

 -- Jeff Bailey <jbailey@ubuntu.com>  Wed,  8 Jun 2005 00:33:00 +0000

mdadm (1.9.0-5) unstable; urgency=low

  * martin f. krafft: (the, "look ma', we're maintained in arch now!" release)
    (no functional differences except for added/updated translations)
    - Acknowledge NMU by Steve Langasek; thanks! (closes: Bug#299623)
    - split diff.gz into different arch branches (see debian/arch-branches).
    - debian/control:
      - Changed maintainer to pkg-mdadm-devel.
      - Reworded some of the descriptions (closes: Bug#304170).
      - Pushed Standards-Version to 3.6.2.1; no changes needed.
      - fixed po-debconf integration
    - debian/rules:
      - fixed po-debconf integration
    - l10n changes:
      - Removed amiguity from debconf template (closes: Bug#312754).
      - Added Vietnamese debconf translation; thanks to Clytie Siddall!
        (closes: Bug#312753)
      - Added Czech debconf translation; thanks to Miroslav Kure! (closes: Bug#319626)
      - Updated German debconf translation; thanks to Jens Seidel! (closes: Bug#313981)
    - backported upstream's gcc4 signedness fixes from 1.12.0 (gcc4signedness
      branch) (closes: Bug#319743).

 -- martin f. krafft <madduck@debian.org>  Sun, 24 Jul 2005 17:58:46 +0200

mdadm (1.9.0-4.1) unstable; urgency=high

  * Non-maintainer upload.
  * High-urgency upload for sarge-targetted RC bugfix
  * Make sure error output from MAKEDEV is sent to stderr, to avoid
    interfering with debconf; this avoids installation problems on
    udev-using systems.  Thanks to Jonas Smedegaard for the patch.
    Closes: #299623.

 -- Steve Langasek <vorlon@debian.org>  Wed,  1 Jun 2005 03:36:42 -0700

mdadm (1.9.0-4) unstable; urgency=high

  * High-urgency upload for sarge targeted RC bugfix.
  * mdrun: replaced invocation of /usr/bin/seq with hard-coded sequence
    (closes: Bug#310671).

 -- martin f. krafft <madduck@debian.org>  Wed, 25 May 2005 09:51:41 +0200

mdadm (1.9.0-3) unstable; urgency=high

  * High-urgency upload for sarge targeted RC bugfix.
  * Applied patch by Peter Samuelson <peter@p12n.org>, which causes mdadm to
    follow symlinks of device nodes (closes: #274859, #310412, #310492).
  * Added myself as co-maintainer as per agreement with Mario Joussen.

 -- martin f. krafft <madduck@debian.org>  Tue, 24 May 2005 00:03:49 +0200

mdadm (1.9.0-2.3) unstable; urgency=high

  * Non-maintainer upload.
  * Do not prevent postinst node creation when udev is being used; MAKEDEV
    puts files into /dev/.static/dev with udev, which is needed so that device
    nodes will be there even if udev is removed. Sorry for letting this slip
    my mind and thanks to Steve Langasek for spotting this error.
  * Leaving urgency at high to make sarge.

 -- martin f. krafft <madduck@debian.org>  Sun, 22 May 2005 19:35:04 +0200

mdadm (1.9.0-2.2) unstable; urgency=high

  * Non-maintainer upload.
  * High-urgency upload for sarge targeted RC bugfix.
  * Move mdadm-raid back to S25 as it needs to run after modules have been
    loaded at S20 (see followups to #294404, #301560).
  * Verified that Steve Langasek's patch to config.c (see item 4 of the
    1.9.0-2.1 changelog) is necessary for `mdadm -A -s` to work.
    (closes: #301560)
  * Integrated patch by Erik van Konijnenburg to fix mdadm's --auto
    option in the presence of --scan.
    (closes: #294404, #273182, #284028, #310126).
  * Modified mdrun to call mdadm with --auto in assembly mode. Removed code
    which would auto-create 24 device nodes during system startup when udev
    was used.
  * Fixed next_free_md function in mdrun to iterate all 24 nodes instead of
    using some fragile shell globbing, which did not work anyway.
  * Prevent postinst node creation when udev is being used.
  * Added a README.udev file to /usr/share/doc/mdadm.

 -- martin f. krafft <madduck@debian.org>  Sun, 22 May 2005 12:57:56 +0200

mdadm (1.9.0-2.1ubuntu1) breezy; urgency=low

  * Merge Debian changes (#9476).

 -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 15 Apr 2005 10:29:03 +0200

mdadm (1.9.0-2.1) unstable; urgency=high

  * Non-maintainer upload.
  * High-urgency upload for sarge targetted RC bugfix.
  * Start mdadm-raid before udev on boot-up, so that mdadm device node
    creation is honored, and support changing the init script ordering
    on upgrades (closes: #294404).
  * Fix mdadm --scan to prefer the values contained in /proc/partitions,
    instead of picking up device node names at random from /dev.
  * Teach mdrun to look at /dev/.static/dev instead of /.dev for udev
    mounts requiring autostart (closes: #301560).

 -- Steve Langasek <vorlon@debian.org>  Sun, 27 Mar 2005 21:59:12 -0800

mdadm (1.9.0-2) unstable; urgency=low

  * Patched is_standard() to accept /dev/md/* names as standard.
    Thanks to Colin Watson <cjwatson@debian.org>.
    (closes: Bug#296794)
  * Added another typecast to make it compilable on amd64 with gcc-4.0.
    Thanks to Andreas Jochens <aj@andaco.de>.
    (closes: Bug#294217)
  * Removed unnecessary second assignment to $BASE in mdrun.
    Thanks to Colin Watson <cjwatson@debian.org>.
    (closes: Bug#295433)

 -- Mario Joussen <joussen@debian.org>  Sun,  6 Mar 2005 14:22:24 +0100

mdadm (1.9.0-1ubuntu2) hoary; urgency=low

  * Fix /dev/md/* handling in check for standard md device names.

 -- Colin Watson <cjwatson@ubuntu.com>  Thu, 24 Feb 2005 14:19:21 +0000

mdadm (1.9.0-1) unstable; urgency=high

  * New upstream release.
    Solves problems with same UUID for each array.
    Again a stable upstream version.
    (closes: Bug#292282, Bug#293406, Bug#292784, Bug#290363, Bug#292715)
  * Added some typecasts to make it compilable on amd64 with gcc-4.0.
    Thanks to Andreas Jochens <aj@andaco.de>.
    (closes: Bug#287638)

 -- Mario Joussen <joussen@debian.org>  Sun,  6 Feb 2005 12:25:03 +0100

mdadm (1.8.1-1ubuntu3) hoary; urgency=low

  * debian/mdrun:
    - Remove Ubuntu-specific 'shift' in the /.dev case that broke at least
      with busybox sh.
    - $BASE was being unnecessarily set twice if $AUTOCREATE, and the second
      time this overwrote the previous check for a /dev/md directory; remove
      the duplication.

 -- Colin Watson <cjwatson@ubuntu.com>  Tue, 15 Feb 2005 19:31:59 +0000

mdadm (1.8.1-1ubuntu2) hoary; urgency=low

  * debian/mdadm.init:
    - Only run if md devices are present, whether they're active for not.
      Fixes Ubuntu bug #966.

 -- Jeff Waugh <jeff.waugh@canonical.com>  Sat, 15 Jan 2005 10:00:29 +1100

mdadm (1.8.1-1ubuntu1) hoary; urgency=low

  * Resynchronise with Debian.

 -- Scott James Remnant <scott@canonical.com>  Tue, 28 Dec 2004 12:46:44 +0000

mdadm (1.8.1-1) unstable; urgency=low

  * New upstream release.
    Fixed segfault if no config file present and --scan is used.
    (closes: Bug#283425, Bug#282604, Bug#284024)
  * Fixed typo in detailed help of grow mode.
    (closes: Bug#286980)
  * Added japanese debconf translation. Thanks to Hideki Yamane
    <henrich@samba.gr.jp>.
    (closes: Bug#281073)
  * Fixed missing variable initialization causing segfaults.

 -- Mario Joussen <joussen@debian.org>  Sun, 26 Dec 2004 14:44:31 +0100

mdadm (1.7.0-2ubuntu1) hoary; urgency=low

  * Resynchronise with Debian.

 -- Fabio M. Di Nitto <fabbione@fabbione.net>  Fri, 29 Oct 2004 14:10:44 +0200

mdadm (1.7.0-2) unstable; urgency=high

  * Changed debconf script to save the settings from the config file.
    Thanks to Fabio Massimo Di Nitto <fabbione@fabbione.net> and
    Frank Lichtenheld <djpig@debian.org> for the patch.
    (closes: Bug#274208)
  * Moved try to load md module inside the AUTOSTART if branch in
    /etc/init.d/mdadm.
  * Removed try to load md module from /etc/init.d/mdadm-raid.

 -- Mario Joussen <joussen@debian.org>  Sun, 24 Oct 2004 19:48:06 +0200

mdadm (1.7.0-1) unstable; urgency=low

  * New upstream release.
    (closes: Bug#267814)

 -- Mario Joussen <joussen@debian.org>  Sun, 12 Sep 2004 20:48:33 +0200

mdadm (1.6.0-3) unstable; urgency=high

  * Added 'Conflicts: raidtools2 (<< 1.00.3-12.1)' because these packages
    contain a mdrun.8 man page also.
    (closes: Bug#268634, Bug#266527)
  * Updated the french translation.
    Thanks to Eric <eric-m@wanadoo.fr>
    (closes: Bug#266251)

 -- Mario Joussen <joussen@debian.org>  Sat, 28 Aug 2004 18:23:17 +0200

mdadm (1.6.0-2) unstable; urgency=low

  * Included version 0.97 of "Debian Software Root Raid Documentation".
  * Now mdrun is only used if no mdadm.conf is present.
    Thanks to Thomas Prokosch <7nrmi1s02@sneakemail.com>.
    (closes: Bug#264059)
  * Added man page for mdrun.
    Thanks to Robert Collins <robertc@robertcollins.net>.
    (closes: Bug#265480)
  * Moved /etc/mdadm/debian.conf to /etc/default/mdadm.
    (closes: Bug#254922)
  * Added a little workaround to mdrun to interact better with udev.
    Thanks to Fabio Massimo Di Nitto <fabbione@fabbione.net>.
    (closes: Bug#259491)
  * Updated Brazilian Portuguese translation.
    Thanks to Andre Luis Lopes <andrelop@debian.org>.
    (closes: Bug#264220)

 -- Mario Joussen <joussen@debian.org>  Mon, 16 Aug 2004 22:10:59 +0200

mdadm (1.6.0-1) unstable; urgency=low

  * New upstream release.
    Detect degraded arrays in --monitor mode now.
    (closes: Bug#257357)
  * Changed default to autostart RAID array.
    (closes: Bug#250792)
  * Fixed mdrun problem with kernel 2.6.
    Thanks to Andre Tomt <andre@tomt.net> and Fabio Massimo Di Nitto
    <fabbione@fabbione.net>
    (closes: Bug#231823)
  * Changed reuse warning to be less misleading.
    (closes: Bug#253339)

 -- Mario Joussen <joussen@debian.org>  Tue, 20 Jul 2004 21:40:33 +0200

mdadm (1.5.0-2ubuntu6) warty; urgency=low

  * Respect users modification preseeding configuration answers
    in mdadm.config. (Closes: #1916/#274208)

 -- Fabio M. Di Nitto <fabbione@fabbione.net>  Fri, 01 Oct 2004 06:23:38 +0200

mdadm (1.5.0-2ubuntu5) warty; urgency=low

  * Added versioned depend on lsb-base

 -- Nathaniel McCallum <npmccallum@canonical.com>  Fri, 3 Sep 2004 14:56:45 -0400

mdadm (1.5.0-2ubuntu4) warty; urgency=low

  * debian/mdadm-raid,mdadm.init: pretty initscripts

 -- Nathaniel McCallum <npmccallum@canonical.com>  Fri, 3 Sep 2004 11:13:25 -0400

mdadm (1.5.0-2ubuntu3) warty; urgency=low

  * Don't try to create device nodes which already exist

 -- Matt Zimmerman <mdz@alcor.net>  Wed, 25 Aug 2004 09:10:38 -0700

mdadm (1.5.0-2ubuntu2) warty; urgency=low

  * Fix mdrun <-> udev interaction. (Closes: #259491/#486)

 -- Fabio M. Di Nitto <fabbione@fabbione.net>  Thu, 12 Aug 2004 18:00:51 +0200

mdadm (1.5.0-2ubuntu1) warty; urgency=low

  * Add little kludge to fix mdrun for kernel 2.6
    (Closes: #231823)

 -- Fabio M. Di Nitto <fabbione@fabbione.net>  Tue, 29 Jun 2004 09:50:59 +0200

mdadm (1.5.0-2) unstable; urgency=low

  * Added french debconf template.
    Thanks to Eric Madesclair <eric-m@wanadoo.fr>.
    (closes: Bug#231968)

 -- Mario Joussen <joussen@debian.org>  Tue,  4 May 2004 21:29:19 +0200

mdadm (1.5.0-1) unstable; urgency=low

  * New upstream release.
  * Rewrote debconf templates to avoid referring to debconf interface
    widgets.
    (closes: Bug#231221)
  * Removed manual scan for RAID devices from init script.
    (closes: Bug#233122, Bug#236762)
  * Added creation of an udeb package.
    (closes: Bug#243609)
  * Added "Debian Software Root Raid Documentation".
    Thanks to Lucas Albers <albersl@cs.montana.edu>.

 -- Mario Joussen <joussen@debian.org>  Sun, 25 Apr 2004 16:16:06 +0200

mdadm (1.4.0-3) unstable; urgency=low

  * Updated to standards version 3.6.1.0 and debhelper 4.
  * Corrected definition of BLKGETSIZE64 macro to compile with the
    2.6 kernel headers.
    (closes: Bug#223191)
  * Swichted to po-debconf to provide localized debconf templates.
    (closes: Bug#225288)

 -- Mario Joussen <joussen@debian.org>  Sun,  1 Feb 2004 19:30:53 +0100

mdadm (1.4.0-2) unstable; urgency=low

  * Corrected human readable size calculation.
    (closes: Bug#225041)
  * Added a warning about reusing hard disks and using the autostart
    feature.
    (closes: Bug#223790)

 -- Mario Joussen <joussen@debian.org>  Thu, 25 Dec 2003 19:52:57 +0100

mdadm (1.4.0-1) unstable; urgency=low

  * New upstream release.

 -- Mario Joussen <joussen@debian.org>  Sun,  7 Dec 2003 19:39:27 +0100

mdadm (1.3.0-2) unstable; urgency=low

  * Added upstream changelog to package.

 -- Mario Joussen <joussen@debian.org>  Tue, 12 Aug 2003 21:51:59 +0200

mdadm (1.3.0-1) unstable; urgency=low

  * New upstream release.
    (closes: Bug#191561, Bug#200921)

 -- Mario Joussen <joussen@debian.org>  Thu, 31 Jul 2003 20:59:20 +0200

mdadm (1.2.0-1) unstable; urgency=low

  * New upstream release. (closes: Bug#183191)
  * New version of mdrun that works properly with devfs and temporary
    device directory.
    (closes: Bug#182035)
  * Added 'Conflicts: raidtools' because of a name clash with mdrun.
    (closes: Bug#182960)

 -- Mario Joussen <joussen@debian.org>  Sun, 16 Mar 2003 13:32:45 +0100

mdadm (1.0.1-4) unstable; urgency=low

  * Changed mdrun so that it can deal with partition statistics in
    /proc/partitions.
    (closes: Bug#174000, Bug#175130)
  * Added russian (ru) debconf template translation. Thanks to Sergey
    Spiridonov <sena@hurd.homeunix.org>.

 -- Mario Joussen <joussen@debian.org>  Sun,  5 Jan 2003 13:14:45 +0100

mdadm (1.0.1-3) unstable; urgency=low

  * Fixed a bug in mdrun. (closes: Bug#167607)

 -- Mario Joussen <joussen@debian.org>  Mon, 11 Nov 2002 07:53:23 +0100

mdadm (1.0.1-2) unstable; urgency=low

  * Fixed typo in help option. (closes: Bug#151533)
  * Added a script that discovers and assembles all arrays automatically.
    Thanks to Eduard Bloch <blade@debian.org>.
    (closes: Bug#161699)

 -- Mario Joussen <joussen@debian.org>  Fri,  1 Nov 2002 13:46:47 +0100

mdadm (1.0.1-1) unstable; urgency=low

  * New upstream release.

 -- Mario Joussen <joussen@debian.org>  Thu, 30 May 2002 14:01:22 +0200

mdadm (0.8.2-1) unstable; urgency=low

  * New upstream release.
  * Splitted up mdadm.templates in one file for each language.
  * Added brazilian portuguese (pt_BR) debconf template translation.
    Thanks to Andre Luis Lopes <andrelop@ig.com.br>.
    (closes: Bug#141540)

 -- Mario Joussen <joussen@debian.org>  Thu, 18 Apr 2002 19:31:00 +0200

mdadm (0.7.2-1) unstable; urgency=low

  * New upstream release.
  * 'mdctl' was renamed to 'mdadm' upstream.
  * Removed question about updating mdctl init script links.

 -- Mario Joussen <joussen@debian.org>  Sat, 23 Mar 2002 02:50:51 +0100

mdctl (0.5-4) unstable; urgency=low

  * Added debconf template to ask the user if the init script links
    should be updated.

 -- Mario Joussen <joussen@debian.org>  Mon,  4 Mar 2002 22:53:37 +0100

mdctl (0.5-3) unstable; urgency=low

  * Splitted up init script in two parts. One starts the md array and the
    other starts the raid monitor daemon.
    (closes: Bug#136184)

 -- Mario Joussen <joussen@debian.org>  Thu, 28 Feb 2002 22:45:57 +0100

mdctl (0.5-2) unstable; urgency=low

  * Included optimization in Makefile
    (closes: Bug#127687)
  * Removed Conflicts/Replaces/Provides: mdutils
    (closes: Bug#127684, Bug#127719)
  * Added an init script, which can start md arrays and the raid monitor
    daemon
  * MD devices are now created under /dev if necessary
  * Added a sample configuration file

 -- Mario Joussen <mario@joussen.org>  Sun, 13 Jan 2002 23:43:40 +0100

mdctl (0.5-1) unstable; urgency=low

  * Initial Release.
    (closes: Bug#126610)

 -- Mario Joussen <mario@joussen.org>  Wed, 26 Dec 2001 17:07:09 +0100

