Bug 440603

Summary: vlan on bridge interface not upped at boot
Product: Red Hat Enterprise Linux 5 Reporter: ariev3
Component: initscriptsAssignee: initscripts Maintenance Team <initscripts-maint-list>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: low    
Version: 5.1CC: djuran, notting
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-19 20:39:43 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:

Description ariev3 2008-04-04 10:48:56 UTC
Description of problem:

initscripts-8.45.17.EL-1

A vlan defined on top of a bridge is not correctly initiated on boot.

cd /etc/sysconfig/network-scripts/
cat ifcfg-br0
 DEVICE=br0
 ONBOOT=yes
 BOOTPROTO=none
 TYPE=Bridge
 brctl stp br0 on

cat ifcfg-br0.3 
 DEVICE=br0.3
 BOOTPROTO=static
 TYPE=Ethernet
 ONBOOT=yes
 IPADDR=172.16.128.126
 NETMASK=255.255.255.224
 BROADCAST=172.16.128.127
 NETWORK=172.16.128.96



How reproducible:
upon each reboot

Actual results:
Delaying initialisation

Expected results:
up


Additional info:
in /etc/sysconfig/network-scripts/ifup, line 65, change
if [[ "${DEVICE}" =~ '^(eth|bond)[0-9]+\.[0-9]{1,4}$' ]]; then

into

if [[ "${DEVICE}" =~ '^(eth|bond|br)[0-9]+\.[0-9]{1,4}$' ]]; then

fixes it

Comment 1 Bill Nottingham 2008-04-04 14:00:36 UTC
Bridge devices aren't necessarily only named br*, so that's not good enough.

Comment 2 Bill Nottingham 2009-03-19 20:39:43 UTC

*** This bug has been marked as a duplicate of bug 462095 ***