FS#44653 - [systemd] systemd-networkd some kind of race condition with linux-4.0

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Monday, 20 April 2015, 03:41 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Tuesday, 21 April 2015, 23:26 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Thomas Bächler (brain0)
Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: There is some kind of race condition with new systemd-networkd (219-5) because network interface (driver r8169), randomly does no get initialized on boot (no ip addr, no link up).
This at least happens with linux-4.0-2, no issue under 3.14.39-1. No issue with systemd-218-2 at all (3.14/4.0)

While trying to debug the issue, I discovered a workaround, if I enable log-level debug in networkd, interface always gets initialized on boot.

Additional info:
systemd-219-5
linux-4.0-2

# cat /etc/systemd/system/systemd-networkd.service.d/debug.conf
[Service]
Environment=SYSTEMD_LOG_LEVEL=debug

# cat /etc/systemd/network/20-net0.link
[Match]
MACAddress=00:18:f3:02:08:03

[Link]
Name=net0

# cat /etc/systemd/network/20-net0.network
[Match]
Name=net0

[Network]
Description=red
Address=192.168.90.66/24
Gateway=192.168.90.1
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Tuesday, 21 April 2015, 23:26 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://bugs.freedesktop.org/show_bug.cg i?id=90132
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 21 April 2015, 23:26 GMT
  • Field changed: Category (Packages: Core → Upstream Bugs)

Loading...