[Piuparts-commits] [piuparts] 02/04: exception for /usr/lib/sasl2/ disappearing on some jessie->stretch upgrades

Holger Levsen holger at layer-acht.org
Thu Aug 3 03:52:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 3fbba4cded97f7fbe64684365abea92e6198d41c
Author: Andreas Beckmann <anbe at debian.org>
Date:   Thu Aug 3 02:52:48 2017 +0200

    exception for /usr/lib/sasl2/ disappearing on some jessie->stretch upgrades
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 custom-scripts/scripts/post_purge_exceptions | 12 ++++++++++++
 debian/changelog                             |  2 ++
 2 files changed, 14 insertions(+)

diff --git a/custom-scripts/scripts/post_purge_exceptions b/custom-scripts/scripts/post_purge_exceptions
index 3b15118..cae98ab 100755
--- a/custom-scripts/scripts/post_purge_exceptions
+++ b/custom-scripts/scripts/post_purge_exceptions
@@ -22,6 +22,18 @@ case ${PIUPARTS_OBJECTS%%=*} in
 				;;
 		esac
 		;;
+	sasl2-bin|\
+	libapache2-mod-authn-sasl)
+		case "$PIUPARTS_DISTRIBUTION" in
+			stretch)
+				# unowned directory in jessie may disappear after removal of owning packages in stretch
+				if [ ! -d /usr/lib/sasl2 ]; then
+					log_debug
+					mkdir -v -p /usr/lib/sasl2
+				fi
+				;;
+		esac
+		;;
 	virtualbox-ext-pack)
 		#802143: virtualbox-ext-pack leaves VBoxSVC processes running
 		# these should terminate within 5 seconds if not used
diff --git a/debian/changelog b/debian/changelog
index 0a2a54a..e4af215 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ piuparts (0.79) UNRELEASED; urgency=medium
   * Move some exceptions to {pre,post}_test_exceptions.
   * scripts/post_distupgrade_base_cleanup: Remove pinentry-curses from the
     stretch (--install-recommends) reference chroot.
+  * scripts/post_purge_exceptions:
+    - Restore /usr/lib/sasl2/ disappearing on some jessie->stretch upgrades.
   * slave_run: Ensure screen is run with SHELL=/bin/bash.
 
  -- Holger Levsen <holger at debian.org>  Mon, 31 Jul 2017 13:35:18 -0400

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list