Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Hi,

Please pre-approve upload and unblock of package openldap.

The wheezy version of slapd, if running a partial replica, does not
seamlessly upgrade to the version in jessie (see #614569).  I'd like
to fix this via an NMU (hoping to find a sponsor), if you kindly
approved the following change:

$ debdiff openldap_2.4.40-3.dsc openldap_2.4.40-3.1.dsc
diff -u openldap-2.4.40/debian/changelog openldap-2.4.40/debian/changelog
--- openldap-2.4.40/debian/changelog
+++ openldap-2.4.40/debian/changelog
@@ -1,3 +1,12 @@
+openldap (2.4.40-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Disable schema checking for reloading the dumped data during upgrades,
+    to avoid interrupting the upgrade procedure of partial replicas.
+    (Closes: #614569).
+
+ -- Ferenc Wágner <wf...@niif.hu>  Wed, 03 Dec 2014 15:35:44 +0100
+
 openldap (2.4.40-3) unstable; urgency=medium
 
   * Remove trailing spaces from slapd.templates.
diff -u openldap-2.4.40/debian/slapd.scripts-common 
openldap-2.4.40/debian/slapd.scripts-common
--- openldap-2.4.40/debian/slapd.scripts-common
+++ openldap-2.4.40/debian/slapd.scripts-common
@@ -220,8 +220,11 @@
                else
                        slapadd_opts="-g -F ${SLAPD_CONF}"
                fi
+               # Disable schema checking for the reload of the dumped data.
+               # Otherwise, reloading partial replicas fails, breaking the
+               # upgrade process.
                capture_diagnostics slapadd ${slapadd_opts} \
-                       -q -b "$suffix" -l "$file" || failed=1
+                       -q -b "$suffix" -l "$file" -s || failed=1
                if [ "$failed" ]; then
                        rm -f "$dbdir"/*
                        echo "failed." >&2

The package is available at
http://mentors.debian.net/package/openldap

The dsc file can be downloaded from
http://mentors.debian.net/debian/pool/main/o/openldap/openldap_2.4.40-3.1.dsc

unblock openldap/2.4.40-3.1
-- 
Thanks,
Feri.


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

Reply via email to