Bug#784070: mdadm: diff for NMU version 3.3.4-1.1
Control: tags 784070 + patch I updated my package for Sid at http://mentors.debian.net/package/mdadm (versioned as 3.3.4-1.1). Regards. diff -Nru mdadm-3.3.4/debian/changelog mdadm-3.3.4/debian/changelog --- mdadm-3.3.4/debian/changelog2015-11-08 13:51:08.0 +0100 +++ mdadm-3.3.4/debian/changelog2015-11-10 11:19:15.0 +0100 @@ -1,3 +1,11 @@ +mdadm (3.3.4-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * disable-incremental-assembly.patch: incremental assembly prevents booting +in degraded mode (Closes: #784070) + + -- Yann Soubeyrand Tue, 10 Nov 2015 11:18:39 +0100 + mdadm (3.3.4-1) unstable; urgency=medium [ Dimitri John Ledkov ] diff -Nru mdadm-3.3.4/debian/patches/disable-incremental-assembly.patch mdadm-3.3.4/debian/patches/disable-incremental-assembly.patch --- mdadm-3.3.4/debian/patches/disable-incremental-assembly.patch 1970-01-01 01:00:00.0 +0100 +++ mdadm-3.3.4/debian/patches/disable-incremental-assembly.patch 2015-11-10 11:13:53.0 +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.4/debian/patches/series mdadm-3.3.4/debian/patches/series --- mdadm-3.3.4/debian/patches/series 2015-11-08 13:50:10.0 +0100 +++ mdadm-3.3.4/debian/patches/series 2015-11-10 11:18:07.0 +0100 @@ -5,3 +5,4 @@ use-tempnode-not-devnode.patch readlink-path.patch mdmonitor-service-simplify.diff +disable-incremental-assembly.patch
Bug#784070: mdadm: diff for NMU version 3.3.2-5.1
You can find two packages on http://mentors.debian.net/package/mdadm : one for jessie and one for sid. Can you upload these if you think they are good, please? Thanks in advance, Cheers Yann dimitri.led...@surgut.co.uk a écrit sur 28/10/2015 15:46:31 : > De : x...@debian.org > A : yann-externe.soubeyr...@edf.fr > Cc : 784...@bugs.debian.org, m...@tls.msk.ru, debian- > b...@lists.debian.org, b...@decadent.org.uk, invernom...@paranoici.org > Date : 28/10/2015 15:46 > Objet : Re: mdadm: diff for NMU version 3.3.2-5.1 > Envoyé par : dimitri.led...@surgut.co.uk > > Hello, > > On 28 October 2015 at 12:41, 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/changelog2014-12-20 09:48:54.0 +0100 > > +++ mdadm-3.3.2/debian/changelog2015-10-28 09:23:56.0 +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 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.0 +0100 > > +++ mdadm-3.3.2/debian/patches/disable-incremental-assembly.patch > 2015-10-28 09:14:09.0 +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.0 +0100 > > +++ mdadm-3.3.2/debian/patches/series 2015-10-27 17:20:07.0 +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.
Bug#784070: mdadm: diff for NMU version 3.3.2-5.1
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. Regards. diff -Nru mdadm-3.3.2/debian/changelog mdadm-3.3.2/debian/changelog --- mdadm-3.3.2/debian/changelog2014-12-20 09:48:54.0 +0100 +++ mdadm-3.3.2/debian/changelog2015-10-28 09:23:56.0 +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 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.0 +0100 +++ mdadm-3.3.2/debian/patches/disable-incremental-assembly.patch 2015-10-28 09:14:09.0 +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.0 +0100 +++ mdadm-3.3.2/debian/patches/series 2015-10-27 17:20:07.0 +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
Bug#784070: is it maybe possible to settle dislikings and fix this bug?
OK, considering only the technical aspects of this bug (not that the other aspects are not important but I don't want to take position on these), I'm ready to prepare a NMU. Before doing so, I'd like everyone's point of view on the solution I proposed as it introduces a regression for slow to appear devices. Given the fact that this bug defeats the purpose of raid 1, I think the regression is worth it in the first time (for sure, we need a better solution in the long term). What do you think about it? Cheers Yann
Bug#784070: mdadm Software RAID1 with GPT on Debian 8.0.0 amd64 - Does not mount/boot on disk removal
OK, so what do we do from now on? The patch I proposed seems to fix the bug which prevents from booting a degraded raid. However, I think this patch is a regression for slow to appear devices. Michael, you told you won't maintain this package any more. Would you mind making an exception for this little patch if you decide it's worth including it despite the regression? Or do you want me to prepare a NMU? In that case, can you give me your opinion on the worthiness of including this patch? Cheers Yann
Bug#781172:
Please see bug #784070 for new information about bug and package status. Cheers Yann