[arch-general] Problem bringing up bridge interface with netctl

Michael Dahlberg olgamirth at gmail.com
Sat Sep 28 20:59:02 EDT 2013


I recently upgraded to systemd-207 and I'm having some problems using
netctl to bring up a bridged interface during the system boot.  The problem
is that systemd will try and bring the bridged interface up before bringing
up the actual network interface that is included in the bridge and, as a
result, it times out:

(From journalctl)

Sep 27 23:59:34 io systemd[1]: Job
sys-subsystem-net-devices-net1.710.device/start timed out.
Sep 27 23:59:34 io systemd[1]: Timed out waiting for device
sys-subsystem-net-devices-net1.710.device.
Sep 27 23:59:34 io systemd[1]: Dependency failed for Bridge Connections for
VLAN710 VMs.


The netctl bridge profile is

Description="Bridge Connections for VLAN710 VMs"
Interface=br710
Connection=bridge
BindsToInterfaces=(net1.710)
IP="no"

The systemd service definition (netctl at br710.service)

.include /usr/lib/systemd/system/netctl at .service

[Unit]
Description=Bridge Connections for VLAN710 VMs
BindsTo=sys-subsystem-net-devices-net1.710.device
After=sys-subsystem-net-devices-net1.710.device

And the profile for net1.710 is

Description='VLAN 710 VMs'
Interface=net1.710
Connection=vlan
# The variable name is plural, but needs precisely one interface
BindsToInterfaces=net1
VLANID=710
IP=no


As soon as systemd times out waiting for the
sys-subsystem-net-devices-net1.710 device to start, it then starts to bring
up the VLAN interface (again from journalctl):

Sep 27 23:59:35 io network[376]: Starting network profile 'vlan710'...
Sep 27 23:59:37 io kernel: e1000e: net1 NIC Link is Up 100 Mbps Full
Duplex, Flow Control: None
Sep 27 23:59:37 io network[376]: Started network profile 'vlan710'
Sep 27 23:59:37 io systemd[1]: Started VLAN 710 VMs.


Obviously, once I have access to the terminal I can manually bring up the
bridge without problems.

I seem to have an issue with the timing with which the different parts of
the network interfaces are brought up.  Is there a way to force systemd to
bring up the net1.710 device before attempting to start the bridge?

Any help you can provide will be greatly appreciated.

Thanks,
Mike


More information about the arch-general mailing list