Bug#784070: mdadm: diff for NMU version 3.3.4-1.1

2015-11-10 Thread yann-externe . soubeyrand
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#764699: augeas: diff for NMU version 1.2.0-0.3

2015-11-10 Thread yann-externe . soubeyrand
Control: tags 764699 + patch

Dear maintainer,

I've prepared two packages with the fix for httpd lens included: one for
Jessie and one for Sid. These packages can be found on
http://mentors.debian.net/package/augeas. The diff is attached to this
message. If you're OK with these packages, can you upload them, please?

Regards.
diff -Nru augeas-1.2.0/debian/changelog augeas-1.2.0/debian/changelog
--- augeas-1.2.0/debian/changelog   2014-08-27 19:45:17.0 +0200
+++ augeas-1.2.0/debian/changelog   2015-10-28 17:04:26.0 +0100
@@ -1,3 +1,10 @@
+augeas (1.2.0-0.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix httpd lens (Closes: #764699)
+
+ -- Yann Soubeyrand   Wed, 28 Oct 2015 
16:46:56 +0100
+
 augeas (1.2.0-0.2) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru augeas-1.2.0/debian/patches/0003-Fix-httpd-lens.patch 
augeas-1.2.0/debian/patches/0003-Fix-httpd-lens.patch
--- augeas-1.2.0/debian/patches/0003-Fix-httpd-lens.patch   1970-01-01 
01:00:00.0 +0100
+++ augeas-1.2.0/debian/patches/0003-Fix-httpd-lens.patch   2015-10-28 
16:50:48.0 +0100
@@ -0,0 +1,13 @@
+Description: fix httpd lens
+Origin: upstream, 
https://github.com/hercules-team/augeas/commit/f99de5dfe072f20f4c2f7c79083c6ddd04aef26c
+Bug-Debian: https://bugs.debian.org/764699
+--- a/lenses/httpd.aug
 b/lenses/httpd.aug
+@@ -91,6 +91,7 @@
+  (incl "/etc/apache2/httpd.conf") .
+  (incl "/etc/apache2/ports.conf") .
+  (incl "/etc/apache2/conf.d/*") .
++ (incl "/etc/apache2/conf-available/*") .
+  (incl "/etc/apache2/mods-available/*") .
+  (incl "/etc/apache2/sites-available/*") .
+  (incl "/etc/httpd/conf.d/*.conf") .
diff -Nru augeas-1.2.0/debian/patches/series augeas-1.2.0/debian/patches/series
--- augeas-1.2.0/debian/patches/series  2014-08-25 18:56:18.0 +0200
+++ augeas-1.2.0/debian/patches/series  2015-10-28 16:50:48.0 +0100
@@ -1,2 +1,3 @@
 0001-Install-vim-addons-into-correct-directory.patch
 0002-Skip-tests-that-need-root-privileges-when-fakeroot-h.patch
+0003-Fix-httpd-lens.patch



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

2015-10-28 Thread yann-externe . soubeyrand
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: mdadm: diff for NMU version 3.3.2-5.1

2015-10-28 Thread Yann-externe SOUBEYRAND
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: is it maybe possible to settle dislikings and fix this bug?

2015-10-27 Thread Yann-externe SOUBEYRAND
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

2015-10-23 Thread Yann-externe SOUBEYRAND
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:

2015-10-23 Thread Yann-externe SOUBEYRAND
Please see bug #784070 for new information about bug and package status.

Cheers

Yann