Package: vlan
Version: 1.8-1
Severity: normal
Tags: patch

When using names like vlan0997 for vlan interfaces, ifdown does not remove
vlan, so that next ifup gives an error link this:
ERROR: trying to add VLAN #997 to IF -:eth1:-  error: Invalid argument

This can be fixed with a following patch:
--- /tmp/vlan.old       2006-02-10 14:36:01.000000000 +0300
+++ /etc/network/if-post-down.d/vlan    2006-02-10 14:36:14.000000000 +0300
@@ -11,6 +11,9 @@
        eth*.*)
                IF_VLAN_RAW_DEVICE=`echo $IFACE|sed 
"s/\(eth[0-9][0-9]*\)\..*/\1/"`
                ;;
+       vlan*)
+               true
+               ;;
        *)      exit 0
                ;;
 esac

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.15.3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages vlan depends on:
ii  iproute                     20041019-3   Professional tools to control the 
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


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

Reply via email to