[debian-edu-commits] debian-edu/ 01/01: Try to detect if bug #765577 cause network interfaces to get the wrong name in the network testsuite check.
Petter Reinholdtsen
pere at moszumanska.debian.org
Mon Oct 20 18:56:22 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 77b9d7ee3903c60a1bda7bfe09573fd543c37cf4
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Mon Oct 20 20:56:15 2014 +0200
Try to detect if bug #765577 cause network interfaces to get the wrong name in the network testsuite check.
---
debian/changelog | 7 +++++++
testsuite/network | 8 ++++++++
2 files changed, 15 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 52e7a28..b1f280b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debian-edu-config (1.812) UNRELEASED; urgency=low
+
+ * Try to detect if bug #765577 cause network interfaces to get the
+ wrong name in the network testsuite check.
+
+ -- Petter Reinholdtsen <pere at debian.org> Mon, 20 Oct 2014 20:54:21 +0200
+
debian-edu-config (1.811) unstable; urgency=high
[ Wolfgang Schweer ]
diff --git a/testsuite/network b/testsuite/network
index 2e60191..00d53e4 100755
--- a/testsuite/network
+++ b/testsuite/network
@@ -151,4 +151,12 @@ if false && test "$server" = true && have_interface eth0; then
fi
fi
+# Look for bug #765577, duplicate udev entries.
+rules=/etc/udev/rules.d/70-persistent-net.rules
+if [ 1 -lt "$(sed -rn 's/^(SUBSYSTEM=="net", .*)NAME=.*$/\1/p' $rules | sort | uniq -c | awk '{ print $1; exit}')" ] ; then
+ error "duplicate persistent udev rules for network card in $rules (bug #765577)."
+else
+ success "no duplicate presistent udev rule for network card found."
+fi
+
exit 0
--
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