[debian-edu-commits] debian-edu/ 01/01: Improve messages from dnsd testsuite check, making it more obvious that the DNS server name is hardcoded.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon Oct 13 09:51:04 UTC 2014


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

pere pushed a commit to branch master
in repository debian-edu-config.

commit 39b3577a1a10bf425081827e8abe5b31f08e1ecd
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Mon Oct 13 11:50:55 2014 +0200

    Improve messages from dnsd testsuite check, making it more obvious that the DNS server name is hardcoded.
---
 debian/changelog | 2 ++
 testsuite/dnsd   | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 65b69f8..c093ff6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,8 @@ debian-edu-config (1.810) UNRELEASED; urgency=high
     non-server installations.
   * Adjust exim config on the main server to be closer to the default in
     Debian, and explain why the kerberos id is checked when using SMTP.
+  * Improve messages from dnsd testsuite check, making it more obvious
+    that the DNS server name is hardcoded.
 
   [ Holger Levsen ]
   * debian/rules: Convert to dh9 style rules.
diff --git a/testsuite/dnsd b/testsuite/dnsd
index 408d810..a0fd370 100755
--- a/testsuite/dnsd
+++ b/testsuite/dnsd
@@ -107,9 +107,9 @@ for cname in \
     domain \
   ; do
     if host -t cname "$cname" "$dnsserver" | grep -q SRV ; then
-        echo "error: $0: Failed to find CNAME record for $cname"
+        echo "error: $0: Failed to find CNAME record for $cname on server $dnsserver"
     else
-        echo "success: $0: Found CNAME record for $cname"
+        echo "success: $0: Found CNAME record for $cname on server $dnsserver"
     fi
 done
 
@@ -121,9 +121,9 @@ for srv in \
     _kpasswd._tcp \
   ; do
     if host -N 2 -t srv $srv "$dnsserver" | grep -q SRV ; then
-        echo "success: $0: Found SRV record for $srv"
+        echo "success: $0: Found SRV record for $srv on server $dnsserver"
     else
-        echo "error: $0: Failed to find SRV record for $srv"
+        echo "error: $0: Failed to find SRV record for $srv on server $dnsserver"
     fi
 done
 

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



More information about the debian-edu-commits mailing list