Bug 183335
| Summary: | ifup-eth does not set wireless options for bridge member interface | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Radek Hladik <rhladik> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED DUPLICATE | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-28 17:05:32 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 of problem: ifup-eth exits after adding interface into bridge and thus does not check whether the device is wireless and does not set wireless options. Version-Release number of selected component (if applicable): initscripts-8.11.1-1 How reproducible: Easily Steps to Reproduce: 1. Prepare these two device configs: ifcfg-eth_ok: DEVICE=eth_ok BOOTPROTO=static HWADDR=00:0A:EB:A7:E3:A3 IPADDR=0.0.0.0 NETMASK=255.255.255.255 ONBOOT=yes TYPE=wireless MODE=master ESSID=myessid CHANNEL=13 IWPRIV="mode 3" ifcfg-eth_bad: DEVICE=eth_bad BOOTPROTO=static HWADDR=00:0A:EB:A7:E3:A3 IPADDR=0.0.0.0 NETMASK=255.255.255.255 ONBOOT=yes TYPE=wireless #this is the only difference: BRIDGE=br_open MODE=master ESSID=myessid CHANNEL=13 IWPRIV="mode 3" Actual results: ifup eth_ok sets wireless options (this is usual wireless config file) ifup eth_bad adds interface into bridge but does not set wireless options (mode, channel,...) Expected results: ifup eth_bad should add interface into bridge and set wireless options Additional info: I solved the problem with commenting-out command "exit 0" in ifup_eth: if [ -n "${BRIDGE}" -a -x /usr/sbin/brctl ]; then /sbin/ip addr flush dev ${DEVICE} 2>/dev/null /sbin/ip link set dev ${DEVICE} up /usr/sbin/brctl addif ${BRIDGE} ${DEVICE} # Upon adding a device to a bridge, # it's necessary to make radvd reload its config [ -r /var/run/radvd/radvd.pid ] && kill -HUP `cat /var/run/radvd/radvd.pid` #quickfix exit 0 fi It didn't break anything in my setup but I can guarantee that it wont break anything in genereal.