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

Hi,

I also have this problem (a vlan is never brought down if the interface
is named vlan<n>), on sarge machines. It looks like $IF_VLAN_RAW_DEVICE
is empty.

The problem does not occur on version 1.8-2.

I suggest this bug be tagged "sarge".

Attached is the quick (and most probably unclean) workaround I use on
sarge machines.

Regards,
- --
Clément 'nodens' Hermann
- - "L'air pur ? c'est pas en RL, ça ? c'est pas hors charte ?"
Jean in L'Histoire des Pingouins, http://tnemeth.free.fr/fmbl/linuxsf/

Vous trouverez ma clef publique sur le serveur public pgp.mit.edu.
Please find my public key on the public keyserver pgp.mit.edu.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDjDrB0yQ2guvROZ0RAvHoAJ900cbA/eMwbwrJdIBu0xbQAduvzgCfam3E
txV0oDyUPLoRC2fRQQ01Hnw=
=t+N5
-----END PGP SIGNATURE-----
--- /root/tmp/etc/network/if-post-down.d/vlan   2004-08-19 11:12:22.000000000 
+0200
+++ if-post-down.d/vlan 2005-11-29 11:59:11.000000000 +0100
@@ -11,6 +11,10 @@
        eth*.*)
                IF_VLAN_RAW_DEVICE=`echo $IFACE|sed 
"s/\(eth[0-9][0-9]*\)\..*/\1/"`
                ;;
+        vlan*)
+               IF_VLAN_RAW_DEVICE=`echo $IFACE|sed "s/vlan0*//"`
+               ;;
+
        *)      exit 0
                ;;
 esac

Reply via email to