Red Hat Bugzilla – Bug 495053
ifup script not set correctly vlan_name_type
Last modified: 2009-09-02 07:14:51 EDT
Created attachment 338899 [details]
patch to /sbin/ifup
Description of problem:
if 8021q module is loaded ifup script not set correctly vlan_name_type
Steps to Reproduce:
1. Create a vlan device ifcfg file with VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
2. load 8021q module
3. change vlan name type
4. ifup vlan device
# modprobe 8021q
# vconfig set_name_type DEV_PLUS_VID
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
# ifup vlan101
Added VLAN with VID == 101 to IF -:eth2:-
Device vlan101 does not seem to be present, delaying initialization.
the vlan is added. i can see in /proc/net/vlan , but vlan interface is not initialized: the device is created with DEV_PLUS_VID name type.
# ls /proc/net/vlan/
Vlan devices are created with VLAN_PLUS_VID_NO_PAD name type
Attached patch to /sbin/ifup that fixes it
Looks reasonable, although your patch is reversed.
Committed upstream as http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=06d5b450647af97048fb085a3f363b0e7bf904a5
Please test the erratum candidate:
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.