bridge-utils all-regex does not capture network devices

Bug #1686058 reported by rainer z
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bridge-utils (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

from bridge-utils-interfaces(5)

bridge-ports
 ...
 Specifying "all" is short for "regex eth.* em.* p[0-9].* noregex" and will get all the ethX and
 biosdevname-format (emX and pX) interfaces added to the bridge.

This will NOT capture device names like enp* and network init will hang.

####################

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

bridge-utils:
  Installed: 1.5-9ubuntu2
  Candidate: 1.5-9ubuntu2
  Version table:
 *** 1.5-9ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
rainer z (rainerz) wrote :

i literally installed the os and the package, threw this in /etc/network/interfaces :

  auto br0
  iface br0 inet dhcp
        bridge_ports all

and rebooted.

Then spent half an hour figuring this out.

affects: xubuntu-meta (Ubuntu) → bridge-utils (Ubuntu)
Revision history for this message
Joshua Powers (powersj) wrote :

Hi! Thanks for looking into this and determining what was going on.

Based on the documentation I agree that it is not capturing enp* network devices. However, as the man page says you can add a regex if you want to capture other types of interfaces:

bridge_ports regex enp.*

If you desire to change the behavior of the 'all' wildcard, then I would suggest filing an upstream bug report to change this behavior. I will mark this as a wishlist bug.

Changed in bridge-utils (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.