Package: ifupdown
Version: 0.6.8
Severity: important

Problem:
"ifdown -a" uses the statefile, located at "/etc/network/run/ifstate", to bring
all configured interfaces down. It downs them using the order they appear in 
this file.
This will cause errors if one uses VLANs or alias-devices, because they
are defined after the physical interface they belong to.

Example:

iface eth0 static inet
  ...
iface eth0:1 static inet
  ...

ifdown -a would first down eth0, then tries eth0:1 which is already
gone.

Solution:

Simply let 'ifdown -a' use interfaces named in ifstate in reverse order.


-- 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 ifupdown depends on:
ii  debconf [debconf-2.0]  1.5.11etch1       Debian configuration management sy
ii  libc6                  2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  net-tools              1.60-17           The NET-3 networking toolkit

ifupdown recommends no packages.

-- debconf information excluded



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

Reply via email to