[Piuparts-commits] [piuparts] 05/11: add distupgrade exception for dnscache-run

Holger Levsen holger at moszumanska.debian.org
Fri Jan 23 12:18:04 UTC 2015


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

holger pushed a commit to branch develop
in repository piuparts.

commit f5c0e58cc27ab889f53f5b1f139ebfdefc8f566d
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Jan 18 19:07:47 2015 +0100

    add distupgrade exception for dnscache-run
    
    dnscache-run breaks DNS inside the chroot
    abort early on distupgrades i.e. before this produces
    network errors caught by detect_network_errors
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/pre_distupgrade_exceptions | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/custom-scripts/scripts/pre_distupgrade_exceptions b/custom-scripts/scripts/pre_distupgrade_exceptions
index 08fb554..f4bbcc8 100755
--- a/custom-scripts/scripts/pre_distupgrade_exceptions
+++ b/custom-scripts/scripts/pre_distupgrade_exceptions
@@ -65,3 +65,16 @@ if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "jessie" ]; then
 	esac
 
 fi
+
+if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "experimental" ]; then
+
+	case ${PIUPARTS_OBJECTS} in
+		dnscache-run=1:1.05-9~exp2)
+			#664848: breaks dns resolution in chroot if installed in a chroot
+			log_debug
+			echo "*** ABORT - Installation broke DNS in chroot ***"
+			exit 1
+			;;
+	esac
+
+fi

-- 
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