Package: ifenslave-2.6
Version: 1.1.0-6
Severity: normal
Tags: patch

Problems found:

On "ifdown -a" or "ifdown bond0", the script
/etc/network/if-down.d/ifenslave tries to loop through each interface
configured in the "slave" stanza of the interface configuration to
--detach it using ifenslave binary.
This results in an warning about duplicate MAC addresses.

Furthermore the bond device is still active, it's not brought down, even
if it has no IP and MAC configuration.

Diagnosis:

This results in an warning about duplicate MAC addresses. It's because
the bond-device gets it's MAC from the first enslaved device. If this
device is the first detached from the bond (always assuming that there
are at least 2 devices in an bond ) the detached device and the bond
device will have the same MAC.

Solution:

Replace the for-loop in if-down.d script with a simple

  ifconfig $IFACE down

This ensures the bond to be deassembled properly (it's also preferred in
the man-page of bonding). All enslaved devices are released and the bond
device is defenitivly down. Thats all.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ifenslave-2.6 depends on:
ii  libc6                  2.3.6.ds1-13etch4 GNU C Library: Shared libraries

Versions of packages ifenslave-2.6 recommends:
ii  net-tools                     1.60-17    The NET-3 networking toolkit

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to