Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian....@packages.debian.org
Usertags: pu

I prepared a package for mdadm containing a patch to fix bug #784070
(https://bugs.debian.org/784070) which prevents booting a software RAID
1 in degraded mode. The diff is attached to this message.

The previous package maintainer (Michael Tokarev) confirmed the source of the
problem (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784070#49) and
several users confirmed that the patch fixes the bug. Moreover, the new
package maintainer (Dimitri John Ledkov, CC of this mail) agreed with this
solution and gave me his consent to proceed with the upload
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784070#230).

The source package can be found at
http://mentors.debian.net/debian/pool/main/m/mdadm/mdadm_3.3.2-5+deb8u1.dsc

Regards,

Yann Soubeyrand

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-11-23 17:22:41.000000000 +0100
@@ -1,3 +1,11 @@
+mdadm (3.3.2-5+deb8u1) jessie-proposed-updates; urgency=medium
+
+  * Non-maintainer upload.
+  * disable-incremental-assembly.patch: incremental assembly prevents booting
+    in degraded mode (Closes: #784070)
+
+ -- Yann Soubeyrand <yann-externe.soubeyr...@edf.fr>  Mon, 23 Nov 2015 
17:22:27 +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-11-10 11:13:53.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-11-10 11:13:53.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

Reply via email to