Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#32235 - [netcfg] bridge woun't brings up if one of interfaces disconnected

Attached to Project: Arch Linux
Opened by elek (elek) - Friday, 26 October 2012, 21:15 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 30 April 2013, 01:03 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When I try to bring up a network bridge with a physically disconnected interface to be added, i get:
>no connection
and bridge doesn't brings up. As far as i know that's because netcfg calls /lib/network/connections/bridge that calls /lib/network/connections/ethernet for every interface supposed to be added to a bridge. /lib/network/connections/ethernet checks if interface physically connected and does nothing if it's not. I think such behavior is wrong for bridges because if you have more than one nics in bridge (you will have at least 2 or you doesn't need bridging) this is actually prevents all the connected ones from bringing up.


Additional info:

* package version(s)
netcfg 2.8.11-2 and probably older 2.8 versions
netcfg 3.0 - bridge created but it's down and has no IP

* config and/or log files etc.
INTERFACE="br0"
CONNECTION="bridge"
BRIDGE_INTERFACES="eth0"
IP="static"
ADDR="192.168.42.1"
NETMASK="23"
Another nic (wlan0) is added by hostapd so there is only one


Steps to reproduce:

1. Make a simple config:
INTERFACE="br0"
CONNECTION="bridge"
BRIDGE_INTERFACES="eth0"
IP="static"
ADDR="192.168.0.1"
NETMASK="24"
and save as /etc/network.d/br0

2. Disconnect network cable from nic if present

3. Try to bring up a bridg with
# netcfg br0

4. No profit.
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 30 April 2013, 01:03 GMT
Reason for closing:  Won't fix
Additional comments about closing:  netcfg has been moved to AUR

Loading...