Bug#784070: mdadm: diff for NMU version 3.3.2-5.1

Dimitri John Ledkov xnox at debian.org
Wed Oct 28 14:46:31 UTC 2015


Hello,

On 28 October 2015 at 12:41,  <yann-externe.soubeyrand at edf.fr> wrote:
> Control: tags 784070 + patch
>
> Dear maintainer,
>
> I'm about to prepare an NMU for mdadm (versioned as 3.3.2-5.1). The diff is
> attached to this message. Let me know if you want me to upload it.
>

I agree. there have been multiple reports (in debian & ubuntu) that
incremental assembly does not work reliably during early boot,
especially in the initramfs, without e.g. main-loop / systemd
generators / timers support.

Please go ahead, or alternatively I will upload this by the end of the week.

Regards,

Dimitri.

> Regards.
> diff -Nru mdadm-3.3.2/debian/changelog mdadm-3.3.2/debian/changelog
> --- mdadm-3.3.2/debian/changelog        2014-12-20 09:48:54.000000000 +0100
> +++ mdadm-3.3.2/debian/changelog        2015-10-28 09:23:56.000000000 +0100
> @@ -1,3 +1,11 @@
> +mdadm (3.3.2-5.1) unstable; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * disable-incremental-assembly.patch: incremental assembly prevents booting
> +    in degraded mode (Closes: #784070)
> +
> + -- Yann Soubeyrand <yann-externe.soubeyrand at edf.fr>  Tue, 27 Oct 2015 17:16:30 +0100
> +
>  mdadm (3.3.2-5) unstable; urgency=medium
>
>    * use-tempnode-not-devnode.patch: change udev rules file to use
> diff -Nru mdadm-3.3.2/debian/patches/disable-incremental-assembly.patch mdadm-3.3.2/debian/patches/disable-incremental-assembly.patch
> --- mdadm-3.3.2/debian/patches/disable-incremental-assembly.patch       1970-01-01 01:00:00.000000000 +0100
> +++ mdadm-3.3.2/debian/patches/disable-incremental-assembly.patch       2015-10-28 09:14:09.000000000 +0100
> @@ -0,0 +1,12 @@
> +--- a/udev-md-raid-assembly.rules
> ++++ b/udev-md-raid-assembly.rules
> +@@ -25,6 +25,9 @@ GOTO="md_inc_end"
> +
> + LABEL="md_inc"
> +
> ++# Disable incremental assembly to fix Debian bug #784070
> ++GOTO="md_inc_end"
> ++
> + # remember you can limit what gets auto/incrementally assembled by
> + # mdadm.conf(5)'s 'AUTO' and selectively whitelist using 'ARRAY'
> + ACTION=="add|change", IMPORT{program}="BINDIR/mdadm --incremental --export $tempnode --offroot ${DEVLINKS}"
> diff -Nru mdadm-3.3.2/debian/patches/series mdadm-3.3.2/debian/patches/series
> --- mdadm-3.3.2/debian/patches/series   2014-12-05 16:59:42.000000000 +0100
> +++ mdadm-3.3.2/debian/patches/series   2015-10-27 17:20:07.000000000 +0100
> @@ -7,3 +7,4 @@
>  rebuildmap-strip-local-host-name-from-device-name.patch
>  readlink-path.patch
>  mdmonitor-service-simplify.diff
> +disable-incremental-assembly.patch



-- 
Regards,

Dimitri.



More information about the pkg-mdadm-devel mailing list