计算机科学 > 操作系统
[提交于 2026年8月16日]
标题:Deterministic Network Interface Naming on Multi-NIC Linux Systems: A Boot-Time Convergence Approach
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Network interface naming on multi-NIC Linux systems suffers from a well-documented race condition in systemd-udevd that has remained unsolved since 2017. When multiple network interfaces are present, parallel udev worker threads attempt to rename interfaces simultaneously, causing EEXIST failures when a target name is temporarily occupied by another interface awaiting its own rename. The upstream systemd project has classified this as "not-a-bug" and declines to implement a fix. The problem, previously cosmetic under NetworkManager, has become critical as the industry migrates to systemd-networkd, which matches interfaces by name rather than MAC address, turning a failed rename into a complete loss of network connectivity. This paper presents a boot-time convergence approach that combines systemd .link file declarations with a retry-based init service that detects and recovers from rename failures before dependent services start. Deployed across diverse multi-NIC hardware configurations, the solution achieves 100% deterministic interface naming. The approach is OS-agnostic and applicable to any systemd-based Linux distribution.
提交历史
来自:Chetan Nigudgi[v1] 2026年8月16日 星期日 07:14:28 UTC (315 KB)