Bug 495053
Summary: | ifup script not set correctly vlan_name_type | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Pietro Bertera <pietro> | ||||
Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> | ||||
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | harald, notting, pietro, syeghiay | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-09-02 11:14:51 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
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: http://people.redhat.com/harald/downloads/initscripts/initscripts-8.45.26.1.el5/ it works 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. http://rhn.redhat.com/errata/RHBA-2009-1344.html |
Created attachment 338899 [details] patch to /sbin/ifup Description of problem: if 8021q module is loaded ifup script not set correctly vlan_name_type How reproducible: Every time 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 ifcfg-vlan101: ---- VLAN=yes VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD DEVICE=vlan101 PHYSDEV=eth2 BOOTPROTO=static ONBOOT=yes TYPE=Ethernet IPADDR=192.168.101.2 NETMASK=255.255.255.0 NETWORK=192.168.101.0 ---- # 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. Actual results: 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/ config eth2.0101 Expected results: Vlan devices are created with VLAN_PLUS_VID_NO_PAD name type Additional info: Attached patch to /sbin/ifup that fixes it