Bug#912035: pymongo: FTBFS due to hardcoded SHA1-based certificates in testsuite

2019-03-31 Thread Jonathan Dupart
tags 912035 + upstream
thanks

Hi,

The bug is tracked uptstream : https://jira.mongodb.org/browse/DRIVERS-575

-- 
Jonathan



Bug#918320: (no subject)

2019-03-30 Thread Jonathan Dupart
user debian-rele...@lists.debian.org
usertags 918320 + bsp-2019-03-fr-paris
hank you



Bug#924562: (no subject)

2019-03-30 Thread Jonathan Dupart
user debian-rele...@lists.debian.org
usertags 924562 + bsp-2019-03-fr-paris
thank you



Bug#768095: openvswitch-datapath-dkms fails to build on Debian 7.7 3.2.0-4-amd64 (3.2.63-2+deb7u1)

2014-12-22 Thread Jonathan Dupart
Hi,

* Thomas Goirand z...@debian.org [141125 14:15]:
 On 11/25/2014 12:32 AM, Jonathan Dupart wrote:
  Hi,
  
  I am looking for a sponsor for the package openvswitch to correct bug
  #768095.
  
  This bug prevents building the openvswitch kernel module with the last
  stable kernel.
  
  As openvswitch maintainer requested an NMU, i built a package [1] with
  the patch already used by Ubuntu to fix the same bug [2] (i use this fix
  since 10 days on live servers).
  
  I attached a full debdiff of the changes.
  
[1]: http://mentors.debian.net/package/openvswitch
 
  http://mentors.debian.net/debian/pool/main/o/openvswitch/openvswitch_1.4.2+git20120612-9.1~deb7u1.1.dsc
[2]: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1379201
  
[...]
 When the release team has approved your change, then I can sponsor it.

The patch has been accepted, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770955#24

Regards,

-- 
Jonathan Dupart


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#768095: openvswitch-datapath-dkms fails to build on Debian 7.7 3.2.0-4-amd64 (3.2.63-2+deb7u1)

2014-12-05 Thread Jonathan Dupart

Hi,

A small update on this bug.

I asked release team approval in bug #770955 ten days ago, received some
questions about the patch an answered them the next day. Nothing has
moved since (looks like the release team is quite busy with jessie
freeze).

AFAIK the patch works and is useful for me and with the pached package
in the mentors repository it should be a little bit more easy to work
around this bug.

I am available to follow-up on this bug on any request but I will not
push it forward on my own.

Regards,

-- 
Jonathan Dupart


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#770955: wheezy-pu: package openvswitch/1.4.2+git20120612-9.1~deb7u1.1

2014-11-26 Thread Jonathan Dupart
* Adam D. Barratt a...@adam-barratt.org.uk [141126 00:25]:
 Control: tags -1 + moreinfo
 
 On Tue, 2014-11-25 at 15:03 +0100, Jonathan Dupart wrote:
  The current openvswitch-datapath-dkms package does not build anymore
  since the last kernel update in wheezy (3.2.63-2+deb7u1), see bug
  #768095.
 
 I'm slightly confused by the patch. You mention that the upgrade to
 3.2.63 caused the issue,

In fact the upgrade to 3.2.63 caused the issue for me but the commit
changing ip_select_ident was included in 3.2.62.

 but this:
 
 ++#elif LINUX_VERSION_CODE = KERNEL_VERSION(3,2,51)/* commit
 703133de */
 ++  ip_select_ident(skb, rt_dst(rt), NULL);
 ++#else
 +   ip_select_ident(iph, rt_dst(rt), NULL);
 ++#endif
 
 suggests that it has in fact been broken since 3.2.51.

Yes, you are right, the patch include a previous fix for another
modification of the prototype of ip_select_ident which was included in
3.2.51 (commit 703133de331a7a7df47f31fb9de51dc6f68a9de8).

Looking at the relevant bug in Ubuntu (#1262692) it looks like only GRE
tunnel where broken by this change and nobody reported this bug, but I
can confirm that these changes where included in the kernel shipped by
Debian.

I am affraid all my servers running openvswitch are now upgraded to
3.2.63-2+deb7u1 but I was able to build and load the openswitch module
with this patch on a VM running 3.2.60-1+deb7u3.

Would you prefer a patch without this modification ?

-- 
Jonathan Dupart


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#770955: wheezy-pu: package openvswitch/1.4.2+git20120612-9.1~deb7u1.1

2014-11-25 Thread Jonathan Dupart
Package: release.debian.org
Severity: normal
Tags: wheezy
User: release.debian@packages.debian.org
Usertags: pu

Hi,

The current openvswitch-datapath-dkms package does not build anymore
since the last kernel update in wheezy (3.2.63-2+deb7u1), see bug
#768095.

A patch already used by Ubuntu [1] fixes this problem, i use it since
some weeks without problem.

  [1] https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1379201

Ben Pfaff maintainer of the package requested an NMU (see bug #768095)
and Thomas Goirand accepted to sponsor the NMU after your approval.

Regards,

-- 
Jonathan Dupart
diff -Nru openvswitch-1.4.2+git20120612/debian/changelog openvswitch-1.4.2+git20120612/debian/changelog
--- openvswitch-1.4.2+git20120612/debian/changelog	2013-06-29 19:35:51.0 +0200
+++ openvswitch-1.4.2+git20120612/debian/changelog	2014-11-25 14:28:14.0 +0100
@@ -1,3 +1,12 @@
+openvswitch (1.4.2+git20120612-9.1~deb7u1.1) wheezy-proposed-updates; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix openvswitch-datapath-dkms fails to build on Debian 7.7 3.2.0-4- amd64
+(3.2.63-2+deb7u1) import Chris J. Arges' patch for tunnel.c
+(Closes: #768095)
+
+ -- Jonathan Dupart jonat...@dupart.org  Sun, 23 Nov 2014 14:57:32 +0100
+
 openvswitch (1.4.2+git20120612-9.1~deb7u1) wheezy-proposed-updates; urgency=low
 
   * Rebuild for Wheezy.
diff -Nru openvswitch-1.4.2+git20120612/debian/patches/bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch openvswitch-1.4.2+git20120612/debian/patches/bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch
--- openvswitch-1.4.2+git20120612/debian/patches/bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch	1970-01-01 01:00:00.0 +0100
+++ openvswitch-1.4.2+git20120612/debian/patches/bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch	2014-11-23 20:33:26.0 +0100
@@ -0,0 +1,31 @@
+Handle ip_select_ident changes, fix for debian bug #768095
+
+Patch picked from ubuntu [1] (only the tunnel.c part), author Chris J Arges
+chris.j.ar...@ubuntu.com.
+
+  [1]: https://launchpadlibrarian.net/187027526/openvswitch_1.4.6-0ubuntu1.12.04.3_1.4.6-0ubuntu1.12.04.4.diff.gz
+--- a/datapath/tunnel.c
 b/datapath/tunnel.c
+@@ -1291,7 +1291,22 @@
+ 		iph-tos = tos;
+ 		iph-ttl = ttl;
+ 		iph-frag_off = frag_off;
++
++		/*
++		 * linux commits 703133de, 73f156a6 changed this function
++		 * affected stable versions are: 3.13.11.7, 3.2.63
++		 */
++#if LINUX_VERSION_CODE = KERNEL_VERSION(3,13,11)   /* commit 73f156a6 */
++ip_select_ident(skb, rt_dst(rt));
++#elif LINUX_VERSION_CODE = KERNEL_VERSION(3,13,0)	/* commit 703133de */
++		ip_select_ident(skb, rt_dst(rt), NULL);
++#elif LINUX_VERSION_CODE = KERNEL_VERSION(3,2,63)	/* commit 73f156a6 */
++		ip_select_ident(skb, rt_dst(rt));
++#elif LINUX_VERSION_CODE = KERNEL_VERSION(3,2,51)	/* commit 703133de */
++		ip_select_ident(skb, rt_dst(rt), NULL);
++#else
+ 		ip_select_ident(iph, rt_dst(rt), NULL);
++#endif
+ 
+ 		skb = tnl_vport-tnl_ops-update_header(vport, mutable,
+ 			rt_dst(rt), skb);
diff -Nru openvswitch-1.4.2+git20120612/debian/patches/series openvswitch-1.4.2+git20120612/debian/patches/series
--- openvswitch-1.4.2+git20120612/debian/patches/series	2013-06-25 20:28:32.0 +0200
+++ openvswitch-1.4.2+git20120612/debian/patches/series	2014-11-23 14:50:48.0 +0100
@@ -18,3 +18,4 @@
 debian-changes-1.4.2+git20120612-9
 
 datapath_Reset_upper_layer_protocol_info_on_internal_devices.patch
+bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch


Bug#768095: openvswitch-datapath-dkms fails to build on Debian 7.7 3.2.0-4-amd64 (3.2.63-2+deb7u1)

2014-11-24 Thread Jonathan Dupart
Hi,

I am looking for a sponsor for the package openvswitch to correct bug
#768095.

This bug prevents building the openvswitch kernel module with the last
stable kernel.

As openvswitch maintainer requested an NMU, i built a package [1] with
the patch already used by Ubuntu to fix the same bug [2] (i use this fix
since 10 days on live servers).

I attached a full debdiff of the changes.

  [1]: http://mentors.debian.net/package/openvswitch
   
http://mentors.debian.net/debian/pool/main/o/openvswitch/openvswitch_1.4.2+git20120612-9.1~deb7u1.1.dsc
  [2]: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1379201


Regards,

-- 
Jonathan Dupart
diff -Nru openvswitch-1.4.2+git20120612/debian/changelog openvswitch-1.4.2+git20120612/debian/changelog
--- openvswitch-1.4.2+git20120612/debian/changelog	2013-06-29 19:35:51.0 +0200
+++ openvswitch-1.4.2+git20120612/debian/changelog	2014-11-23 20:28:26.0 +0100
@@ -1,3 +1,12 @@
+openvswitch (1.4.2+git20120612-9.1~deb7u1.1) stable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix openvswitch-datapath-dkms fails to build on Debian 7.7 3.2.0-4- amd64
+(3.2.63-2+deb7u1) import Chris J. Arges' patch for tunnel.c
+(Closes: #768095)
+
+ -- Jonathan Dupart jonat...@dupart.org  Sun, 23 Nov 2014 14:57:32 +0100
+
 openvswitch (1.4.2+git20120612-9.1~deb7u1) wheezy-proposed-updates; urgency=low
 
   * Rebuild for Wheezy.
diff -Nru openvswitch-1.4.2+git20120612/debian/patches/bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch openvswitch-1.4.2+git20120612/debian/patches/bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch
--- openvswitch-1.4.2+git20120612/debian/patches/bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch	1970-01-01 01:00:00.0 +0100
+++ openvswitch-1.4.2+git20120612/debian/patches/bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch	2014-11-23 20:33:26.0 +0100
@@ -0,0 +1,31 @@
+Handle ip_select_ident changes, fix for debian bug #768095
+
+Patch picked from ubuntu [1] (only the tunnel.c part), author Chris J Arges
+chris.j.ar...@ubuntu.com.
+
+  [1]: https://launchpadlibrarian.net/187027526/openvswitch_1.4.6-0ubuntu1.12.04.3_1.4.6-0ubuntu1.12.04.4.diff.gz
+--- a/datapath/tunnel.c
 b/datapath/tunnel.c
+@@ -1291,7 +1291,22 @@
+ 		iph-tos = tos;
+ 		iph-ttl = ttl;
+ 		iph-frag_off = frag_off;
++
++		/*
++		 * linux commits 703133de, 73f156a6 changed this function
++		 * affected stable versions are: 3.13.11.7, 3.2.63
++		 */
++#if LINUX_VERSION_CODE = KERNEL_VERSION(3,13,11)   /* commit 73f156a6 */
++ip_select_ident(skb, rt_dst(rt));
++#elif LINUX_VERSION_CODE = KERNEL_VERSION(3,13,0)	/* commit 703133de */
++		ip_select_ident(skb, rt_dst(rt), NULL);
++#elif LINUX_VERSION_CODE = KERNEL_VERSION(3,2,63)	/* commit 73f156a6 */
++		ip_select_ident(skb, rt_dst(rt));
++#elif LINUX_VERSION_CODE = KERNEL_VERSION(3,2,51)	/* commit 703133de */
++		ip_select_ident(skb, rt_dst(rt), NULL);
++#else
+ 		ip_select_ident(iph, rt_dst(rt), NULL);
++#endif
+ 
+ 		skb = tnl_vport-tnl_ops-update_header(vport, mutable,
+ 			rt_dst(rt), skb);
diff -Nru openvswitch-1.4.2+git20120612/debian/patches/series openvswitch-1.4.2+git20120612/debian/patches/series
--- openvswitch-1.4.2+git20120612/debian/patches/series	2013-06-25 20:28:32.0 +0200
+++ openvswitch-1.4.2+git20120612/debian/patches/series	2014-11-23 14:50:48.0 +0100
@@ -18,3 +18,4 @@
 debian-changes-1.4.2+git20120612-9
 
 datapath_Reset_upper_layer_protocol_info_on_internal_devices.patch
+bug-768095-openvswitch-datapath-dkms-fails-to-build-on-Debian-7.7-3.2.0-4-amd64.patch


Bug#768095: openvswitch-datapath-dkms fails to build on Debian 7.7 3.2.0-4-amd64 (3.2.63-2+deb7u1)

2014-11-17 Thread Jonathan Dupart
Hi,

I have been bittend by this bug.

I am raising this bug severity to grave, as it renders openvswitch
unusable after upgrading to the last stable kernel.

I tested the patch and it works flawlessly. It should be quite easy to
update the package in stable.

Regards,

-- 
Jonathan Dupart


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#767675: libx52pro0: fails to install: subprocess installed post-installation script returned error exit status 2

2014-11-15 Thread Jonathan Dupart
Hi,

This package does not seems really maintained (last upload an nmu in
december 2011) and has no reverse dependancies, the automatic removal
processus should then remove it from jessie in a few weeks.

Regards,

-- 
Jonathan Dupart


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#769690: waagent postinst script can remove configuration files in postinst

2014-11-15 Thread Jonathan Dupart
Package: waagent
Version: 1.3.2-1
Severity: serious
Justification: Policy 10.7.3.

Hi,

It looks like in certain conditions some conffiles may be removed by the
postinst script of waagent :

  - /etc/init.d/waagent
  - /etc/waagent.conf
  - /etc/logrotate.d/waagent

This behaviour is forbidden by the policy (see section 10.7.3 about
behaviour with configuration files and section 6.2. about maintainer
scripts idempotency).

The most simple fix should be to entirely remove this file deletions
from the postinst script.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable'), (99, 'experimental'), (99, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Regards,

-- 
Jonathan Dupart


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#767814: waagent: removes files that were installed by another package: /lib/udev/rules.d/75-persistent-net-generator.rules

2014-11-15 Thread Jonathan Dupart
Hi,

Please find a patch removing the automatic setup of waagent from the
postinst script of the package.

It is obviously the very nature of this package to modify the system and
to adapt it to this particular environment, but it is not allowed for
packages to modify other packages files.

The setup command should then be launched after the installation, either
by hand or by an automated configuration handling system, but not by the
package itself.

Note also that this package has no reverse dependancies and could be
soon removed from jessie if its RC bugs are not solved quickly.

Regards,

-- 
Jonathan Dupart
diff -Nru waagent-1.3.2/debian/changelog waagent-1.3.2/debian/changelog
--- waagent-1.3.2/debian/changelog	2013-04-09 15:43:21.0 +0200
+++ waagent-1.3.2/debian/changelog	2014-11-15 17:14:21.0 +0100
@@ -1,3 +1,10 @@
+waagent (1.3.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not launch the setup in postinst (Closes: #767814)
+
+ -- Jonathan Dupart jonat...@dupart.org  Sat, 15 Nov 2014 17:12:38 +0100
+
 waagent (1.3.2-1) unstable; urgency=low
 
   * New upstream release:
diff -Nru waagent-1.3.2/debian/postinst waagent-1.3.2/debian/postinst
--- waagent-1.3.2/debian/postinst	2013-04-12 14:18:46.0 +0200
+++ waagent-1.3.2/debian/postinst	2014-11-15 17:12:18.0 +0100
@@ -20,7 +20,6 @@
 
 case $1 in
 configure)
-	waagent --setup --force
 ;;
 
 abort-upgrade|abort-remove|abort-deconfigure)
diff -Nru waagent-1.3.2/debian/README.Debian waagent-1.3.2/debian/README.Debian
--- waagent-1.3.2/debian/README.Debian	1970-01-01 01:00:00.0 +0100
+++ waagent-1.3.2/debian/README.Debian	2014-11-15 17:19:57.0 +0100
@@ -0,0 +1,5 @@
+waagent must be configured before use :
+
+waagent --setup --force
+
+be warned that this command will remove and modify files in your system.


Bug#762462: glassfish server support

2014-11-14 Thread Jonathan Dupart
Hi,

Last september you said [1] you would drop the glassfish-appserv package in
an upload.

Is this action still on your todo-list ?

  [1]: https://lists.debian.org/debian-lts/2014/09/msg00036.html


Regards,

-- 
Jonathan Dupart


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#743396: patch for nsd: invalid user: ‘nsd’

2014-11-14 Thread Jonathan Dupart
Hi,

Please find a patch moving the #DEBHELPER# tag at the end of the
postinst script, after the 'nsd' user creation.

Regards,

-- 
Jonathan Dupart
diff -Nru nsd-4.1.0/debian/changelog nsd-4.1.0/debian/changelog
--- nsd-4.1.0/debian/changelog	2014-09-04 16:12:43.0 +0200
+++ nsd-4.1.0/debian/changelog	2014-11-14 12:46:42.0 +0100
@@ -1,3 +1,11 @@
+nsd (4.1.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix invalid user: 'nsd' move the debhelper tag at the end of the
+postinst script (Closes: #743396)
+
+ -- Jonathan Dupart jonat...@dupart.org  Fri, 14 Nov 2014 12:39:58 +0100
+
 nsd (4.1.0-1) unstable; urgency=medium
 
   * New upstream version 4.1.0
diff -Nru nsd-4.1.0/debian/nsd.postinst nsd-4.1.0/debian/nsd.postinst
--- nsd-4.1.0/debian/nsd.postinst	2014-09-04 16:12:43.0 +0200
+++ nsd-4.1.0/debian/nsd.postinst	2014-11-14 12:37:35.0 +0100
@@ -1,8 +1,6 @@
 #!/bin/sh
 set -e
 
-#DEBHELPER#
-
 if test $1 = configure; then
 # Move /etc/nsd3/nsd.conf to /etc/nsd/nsd.conf on first install of NSD 4
 OLDCONFFILE=/etc/nsd3/nsd.conf
@@ -48,4 +46,6 @@
 fi
 fi
 
+#DEBHELPER#
+
 exit 0


Bug#766308: Fails to purge: /var/lib/dpkg/info/mdadm.postrm: 9: /usr/share/debconf/confmodule: DEBIAN_HAS_FRONTEND: parameter not set

2014-11-14 Thread Jonathan Dupart
Hi,

This bug is a consequence of the removal of various set +u/set -u in
commit f671341b70f8edaaa63704b73fd760ef013fa504.

The bug #369953 has not been resolved then the workarounds set up 
waiting for its resolution should not be removed (or the set -u should 
also be removed from the entire script).

Please find a patch reverting this changes.

Regards,

-- 
Jonathan Dupart
diff -Nru mdadm-3.3.2/debian/changelog mdadm-3.3.2/debian/changelog
--- mdadm-3.3.2/debian/changelog	2014-10-04 19:28:54.0 +0200
+++ mdadm-3.3.2/debian/changelog	2014-11-14 15:59:37.0 +0100
@@ -1,3 +1,14 @@
+mdadm (3.3.2-3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix Fails to purge: /var/lib/dpkg/info/mdadm.postrm: 9:
+/usr/share/debconf/confmodule: DEBIAN_HAS_FRONTEND: parameter not set
+undelete the set +u -u dance around the #DEBHELPER# tag (actually
+reverting commit f671341b70f8edaaa63704b73fd760ef013fa504)
+(Closes: #766308)
+
+ -- Jonathan Dupart jonat...@dupart.org  Fri, 14 Nov 2014 15:42:19 +0100
+
 mdadm (3.3.2-2) unstable; urgency=medium
 
   * remove more leftovers from old versions
diff -Nru mdadm-3.3.2/debian/mdadm.postinst mdadm-3.3.2/debian/mdadm.postinst
--- mdadm-3.3.2/debian/mdadm.postinst	2014-10-04 19:07:22.0 +0200
+++ mdadm-3.3.2/debian/mdadm.postinst	2014-11-14 15:41:47.0 +0100
@@ -108,4 +108,6 @@
 
 [ -d /run/systemd/system ]  systemctl --system daemon-reload /dev/null || :
 
+# See #369953
+set +u
 #DEBHELPER#
diff -Nru mdadm-3.3.2/debian/mdadm.postrm mdadm-3.3.2/debian/mdadm.postrm
--- mdadm-3.3.2/debian/mdadm.postrm	2014-10-04 19:07:27.0 +0200
+++ mdadm-3.3.2/debian/mdadm.postrm	2014-11-14 15:41:47.0 +0100
@@ -18,4 +18,8 @@
 
 [ -d /run/systemd/system ]  systemctl --system daemon-reload /dev/null || :
 
+# just in case somebody actually purges mdadm, we need this to make debconf
+# (added by dh_installdebconf) behave. See #369953
+set +u
 #DEBHELPER#
+set -u
diff -Nru mdadm-3.3.2/debian/mdadm.preinst mdadm-3.3.2/debian/mdadm.preinst
--- mdadm-3.3.2/debian/mdadm.preinst	2014-10-04 19:07:34.0 +0200
+++ mdadm-3.3.2/debian/mdadm.preinst	2014-11-14 15:41:47.0 +0100
@@ -42,4 +42,7 @@
   *) :;;
 esac
 
+# See #369953
+set +u
 #DEBHELPER#
+set -u


Bug#736280: backupninja: [dup] workaround duplicity bug #565398

2014-02-28 Thread Jonathan Dupart
* intrigeri intrig...@debian.org [140222 15:54]:
 Jonathan Dupart wrote (21 Jan 2014 20:43:46 GMT) :
  The duplicity backend is broken when the gpg ecryption is set up and the
  system default locale is not english (or C).
[...]
 The following (simpler) patch might be a better bet: first, it sets
 LC_ALL=C in a shared, single place. Second, it has greater chances to
 work even with the bandwidthlimit option set (while I suspect your
 patch breaks things in that case).
 
 --- a/handlers/dup.in
 +++ b/handlers/dup.in
 @@ -102,7 +102,7 @@ fi
  ### COMMAND-LINE MANGLING 
 ##
  
  ### initialize $execstr*
 -execstr_precmd=
 +execstr_precmd='LC_ALL=C'
  execstr_command=
  execstr_options=$options --no-print-statistics
  execstr_source=
 
 Could you please test and confirm if it works for you?

Yes, on my setup with fr_FR.UTF-8 as default locale this patch works too.

Regards,

-- 
Jonathan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#736280: backupninja: [dup] workaround duplicity bug #565398

2014-01-21 Thread Jonathan Dupart
Package: backupninja
Version: 1.0.1-1
Severity: normal

Dear Maintainer,

The duplicity backend is broken when the gpg ecryption is set up and the
system default locale is not english (or C).

The bug reports on duplicity are here :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565398
https://bugs.launchpad.net/duplicity/+bug/510625

From a mail report :

 == fatal errors from /etc/backup.d/90.dup ==
 
 Warning: Duplicity cleanup failed.
 Warning: Duplicity remove-older-than failed.
 Error: Les métadonnées locales et distantes sont déjà synchronisées. Aucune 
 synchronisation nécessaire.
 Error: Traceback (most recent call last):
 Error: File /usr/bin/duplicity, line 1404, in module
 Error: with_tempdir(main)
 Error: File /usr/bin/duplicity, line 1397, in with_tempdir
 Error: fn()
 Error: File /usr/bin/duplicity, line 1277, in main
 Error: globals.archive_dir).set_values()
 Error: File /usr/lib/python2.7/dist-packages/duplicity/collections.py, line 
 691, in set_values
 Error: self.get_backup_chains(partials + backend_filename_list)
 Error: File /usr/lib/python2.7/dist-packages/duplicity/collections.py, line 
 814, in get_backup_chains
 Error: map(add_to_sets, filename_list)
 Error: File /usr/lib/python2.7/dist-packages/duplicity/collections.py, line 
 808, in add_to_sets
 Error: log.Debug(_(File %s is not part of a known set; creating new set) % 
 (filename,))
 Error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 
 23: ordinal not in range(128)
 Fatal: Duplicity failed.

I tried to run backupninja with a different locale with the appropriate
environment variable invocations but duplicity failed the same way.

Without further investigation, I tried to patch the duplicity handler to
prefix every invocations of duplicity with LC_ALL=C and it fixed the
problem.

You will find my patch attached to this bugreport.

-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (910, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages backupninja depends on:
ii  bash   4.2+dfsg-0.1
ii  bsd-mailx [mailx]  8.1.2-0.2006cvs-1
ii  dialog 1.1-20120215-2
ii  mawk   1.3.3-17

backupninja recommends no packages.

Versions of packages backupninja suggests:
pn  bzip2  none
ii  debconf-utils  1.5.49
ii  duplicity  0.6.18-3
pn  genisoimagenone
pn  hwinfo none
pn  mdadm  none
pn  rdiff-backup   none
ii  rsync  3.0.9-4
ii  subversion 1.6.17dfsg-4+deb7u4
pn  tricklenone
pn  wodim  none

-- no debconf information
commit f4d8fa484baca111338fd12bf94995a48d745917
Author: Jonathan Dupart jonat...@dupart.org
Date:   Tue Jan 21 20:43:35 2014 +0100

dup: prefix every call to duplicity with LC_ALL=C

When used with gpg encryption and a non-C locale duplicity can fail on
characters outside ascii set in gpg output.

duplicity bug details are explained here :
https://bugs.launchpad.net/duplicity/+bug/510625

diff --git a/handlers/dup.in b/handlers/dup.in
index a67848f..2634916 100644
--- a/handlers/dup.in
+++ b/handlers/dup.in
@@ -116,7 +116,7 @@ else
 fi
 
 ### duplicity version (ignore anything else than 0-9 and .)
-duplicity_version=`duplicity --version | @AWK@ '{print $2}' | @SED@ 's/[^.[:digit:]]//g'`
+duplicity_version=`LC_ALL=C duplicity --version | @AWK@ '{print $2}' | @SED@ 's/[^.[:digit:]]//g'`
 duplicity_major=`echo $duplicity_version | @AWK@ -F '.' '{print $1}'`
 duplicity_minor=`echo $duplicity_version | @AWK@ -F '.' '{print $2}'`
 duplicity_sub=`echo $duplicity_version | @AWK@ -F '.' '{print $3}'`
@@ -281,13 +281,13 @@ fi
 ### Cleanup commands (duplicity = 0.4.4)
 
 # cleanup
-debug $execstr_precmd duplicity cleanup --force $execstr_options $execstr_serverpart
+debug $execstr_precmd LC_ALL=C duplicity cleanup --force $execstr_options $execstr_serverpart
 if [ ! $test ]; then
export PASSPHRASE=$password
export FTP_PASSWORD=$ftp_password
output=`nice -n $nicelevel \
  su -c \
- $execstr_precmd duplicity cleanup --force $execstr_options $execstr_serverpart 21`
+ $execstr_precmd LC_ALL=C duplicity cleanup --force $execstr_options $execstr_serverpart 21`
exit_code=$?
if [ $exit_code -eq 0 ]; then
   debug $output
@@ -300,13 +300,13 @@ fi
 
 # remove-older-than
 if [ $keep != yes ]; then
-   debug $execstr_precmd duplicity remove-older-than $keep --force $execstr_options $execstr_serverpart
+   debug $execstr_precmd LC_ALL=C duplicity remove-older-than $keep --force $execstr_options $execstr_serverpart
if [ ! $test ]; then
   export PASSPHRASE=$password
   export FTP_PASSWORD=$ftp_password
   output=`nice -n $nicelevel \
 su -c \
-$execstr_precmd duplicity remove-older-than $keep --force $execstr_options

Bug#717296: ganeti2: missing python dependancies in 2.7 package

2013-07-18 Thread Jonathan Dupart
Package: ganeti2
Version: 2.7.0-1
Severity: normal

Dear Maintainer,

After upgrading ganeti2 to the version in sid (2.7), a number of
commands where unusable due to missing python modules :

jonathan@bu:~$ sudo gnt-cluster info
Traceback (most recent call last):
  File /usr/sbin/gnt-cluster, line 11, in module
import ganeti.client.gnt_cluster as main
  File /usr/lib/pymodules/python2.7/ganeti/client/gnt_cluster.py, line 39, in 
mod  File /usr/lib/pymodules/python2.7/ganeti/config.py, line 55, in module
from ganeti import network
  File /usr/lib/pymodules/python2.7/ganeti/network.py, line 28, in module
from bitarray import bitarray
ImportError: No module named bitarray

jonathan@bu:~$ sudo gnt-instance list
Traceback (most recent call last):
  File /usr/sbin/gnt-instance, line 11, in module
import ganeti.client.gnt_instance as main
  File /usr/lib/pymodules/python2.7/ganeti/client/gnt_instance.py, line 34, 
in mo
dule
from ganeti.cli import *
  File /usr/lib/pymodules/python2.7/ganeti/cli.py, line 38, in module
from ganeti import opcodes
  File /usr/lib/pymodules/python2.7/ganeti/opcodes.py, line 38, in module
import ipaddr
ImportError: No module named ipaddr


Could you please add python-bitarray and python-ipaddr to ganeti2 dependancies
list ?

My system is following the testing distribution (jessie at this date) but i
forced ganeti2 installation from sid due to the python/kernel incompatibilities
reported in this bug :
https://code.google.com/p/ganeti/issues/detail?id=191
(this will be resolved by ganeti2 version 2.7 migrating in testing, right ?)

Kind regards,

Jonathan Dupart


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable'), (99, 'experimental'), (99, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ganeti2 depends on:
ii  bridge-utils   1.5-6
ii  fping  3.5-1
ii  ganeti-haskell 2.7.0-1
ii  iproute1:3.9.0-5
ii  iputils-arping 3:20121221-1
ii  libjs-jquery   1.7.2+dfsg-2
ii  lvm2   2.02.95-7
ii  openssh-client 1:6.2p2-6
ii  openssh-server 1:6.2p2-6
ii  openssl1.0.1e-3
ii  python 2.7.5-2
ii  python-openssl 0.13-2+b1
ii  python-paramiko1.7.7.1-3.1
ii  python-pycurl  7.19.0-7
ii  python-pyinotify   0.9.3-2
ii  python-pyparsing   1.5.7+dfsg1-2
ii  python-simplejson  2.6.2-1
ii  python-support 1.0.15
ii  socat  1.7.1.3-1.4

Versions of packages ganeti2 recommends:
ii  drbd8-utils  2:8.3.13-2
ii  ganeti-instance-debootstrap  0.11-1
ii  ndisc6   1.0.1-1+b1
ii  qemu-kvm 1.1.2+dfsg-6

Versions of packages ganeti2 suggests:
pn  drbd8-module-source  none
pn  ganeti-htoolsnone

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#686518: openvswitch-switch: No network configuration with openvswitch

2013-06-20 Thread Jonathan Dupart
Hi,

The bug still exists and the added ifup -a helps, but if the interface
has not been set up before you need to set the link up manually :

# ip link set eth1 up

I added this to my /etc/network/interfaces to fix this at boot :

  auto eth1
  iface eth1 inet manual
  pre-up ip link set eth1 up

Regards,

-- 
Jonathan Dupart


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org