Your message dated Sat, 01 Aug 2009 00:17:09 +0000
with message-id <[email protected]>
and subject line Bug#507949: fixed in ifupdown-extra 0.14
has caused the Debian Bug report #507949,
regarding ifupdown-extra: check-duplicate-ip breaks on multi-address ifaces
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
507949: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507949
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ifupdown-extra
Version: 0.13
Severity: normal
Tags: patch

Hi,

On interfaces with multiple addresses, check-duplicate-ip breaks as it
calls arping with all addresses at once. Attached a patch fixing this.

regards,
guillem
>From c9ae9dec7869a6dbf48fac8e5238279690022b87 Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Sat, 6 Dec 2008 05:34:29 +0200
Subject: [PATCH] Support multi-address interfaces

---
 if-up-scripts/check-duplicate-ip |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/if-up-scripts/check-duplicate-ip b/if-up-scripts/check-duplicate-ip
index d66de04..56a044d 100755
--- a/if-up-scripts/check-duplicate-ip
+++ b/if-up-scripts/check-duplicate-ip
@@ -81,10 +81,12 @@ do_arping() {
 		fi
 	fi
 
-	[ "$VERBOSITY" -eq 1 ] && $OUTPUT "DEBUG: Sending arp pings through $IFACE to detect other systems using $IF_ADDRESS"
-	if ! $ARPING -q -c $ARP_COUNT -w $ARP_TIMEOUT -D -I $IFACE $IF_ADDRESS ; then
-		$OUTPUT "ERROR: Duplicate address $IF_ADDRESS assigned in the network where $IFACE is connected to"
-	fi
+	for ADDR in $IF_ADDRESS; do
+		[ "$VERBOSITY" -eq 1 ] && $OUTPUT "DEBUG: Sending arp pings through $IFACE to detect other systems using $ADDR"
+		if ! $ARPING -q -c $ARP_COUNT -w $ARP_TIMEOUT -D -I $IFACE $ADDR ; then
+			$OUTPUT "ERROR: Duplicate address $ADDR assigned in the network where $IFACE is connected to"
+		fi
+	done
 }
 
 # Check our IFACE name, if it does not start with eth, bail out
-- 
1.6.0.1


--- End Message ---
--- Begin Message ---
Source: ifupdown-extra
Source-Version: 0.14

We believe that the bug you reported is fixed in the latest version of
ifupdown-extra, which is due to be installed in the Debian FTP archive:

ifupdown-extra_0.14.dsc
  to pool/main/i/ifupdown-extra/ifupdown-extra_0.14.dsc
ifupdown-extra_0.14.tar.gz
  to pool/main/i/ifupdown-extra/ifupdown-extra_0.14.tar.gz
ifupdown-extra_0.14_all.deb
  to pool/main/i/ifupdown-extra/ifupdown-extra_0.14_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Javier Fernandez-Sanguino Pen~a <[email protected]> (supplier of updated 
ifupdown-extra package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 01 Aug 2009 01:26:04 +0200
Source: ifupdown-extra
Binary: ifupdown-extra
Architecture: source all
Version: 0.14
Distribution: unstable
Urgency: low
Maintainer: Javier Fernandez-Sanguino Pen~a <[email protected]>
Changed-By: Javier Fernandez-Sanguino Pen~a <[email protected]>
Description: 
 ifupdown-extra - Network scripts for ifupdown
Closes: 464715 507949
Changes: 
 ifupdown-extra (0.14) unstable; urgency=low
 .
   * Apply a patch provided by Guillem Jover to make check-duplicate-ip work
     with interfaces with multiple interfaces (Closes: 507949)
   * Change handling of default values so that the environment variables
     are honored if set with patch provided by Osamu Aoki (Closes: 464715)
   * Change if-up-scripts/static-routes so that it complains if a line in
     /etc/network/static-routes is not defined as expected.
Checksums-Sha1: 
 77d02c15e328a57ab11b35f48003cfa906cced75 730 ifupdown-extra_0.14.dsc
 efa63d5828fc2e9143117ca66a3c81f54ab49f92 15460 ifupdown-extra_0.14.tar.gz
 7e91922d9f28c90e615597468a8029ef9e6d0d25 15918 ifupdown-extra_0.14_all.deb
Checksums-Sha256: 
 8877a2b083641e260ed95c73602065ef748e289f594589eecae9a0da876aa1b4 730 
ifupdown-extra_0.14.dsc
 18d7639e9c169ab8e5e23d3f389657ded47058e2622f69657b3e92b18a38f35d 15460 
ifupdown-extra_0.14.tar.gz
 5ad0ef362fb98a0e4f07b5e682f8d7fd0a95a15bf32d041e8531ee2ed5d45efe 15918 
ifupdown-extra_0.14_all.deb
Files: 
 f8c870aadaa0a67adeffeebb1b7279d6 730 admin optional ifupdown-extra_0.14.dsc
 24424b4eb91aad673a699d666caa0b76 15460 admin optional 
ifupdown-extra_0.14.tar.gz
 a7f4fc54266a5a0f77de4756c21ce416 15918 admin optional 
ifupdown-extra_0.14_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKc4GTsandgtyBSwkRAvuOAJ4l78kIArLYYty0C0hD7pFK/2txBwCgiGgt
/k+cek0NHld3vxfLrplYnW8=
=BNWv
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to