Bugzilla – Bug 153581
Wrong comparision of $SCRIPTNAME in ifup-802.1q prevents usage of ETHERDEVICE=eth-id-XX:XX:XX:XX:XX:XX
Last modified: 2007-06-05 09:37:38 UTC
In /etc/sysconfig/network/scripts/ifup-802.1q there is a wrong comparision: Lines 76-80: # ETHERDEVICE may contain a device description which must first be # converted to the current interface name of that device if [ "$SCRIPTNAME" = ifup ] ; then ETHERDEVICE=`/sbin/getcfg-interface -- $ETHERDEVICE` if ! is_iface_available $ETHERDEVICE ; then Since $SCRIPTNAME is ifup-802.1q the getcfg-interface is never called and it is impossible to use ETHERDEVICE=eth-id-XX:XX:XX:XX:XX:XX in /etc/sysconfig/network/vlanX Replacing it with: if [ "$SCRIPTNAME" = ifup-802.1q ] ; then makes it work.
This is fixed in latest sysconfig YOUpdate. Also fixed for current products.