ITADN

Bringing interface link down, for clean transition to late boot

#107Closedhuyz 创建于 2025-11-09
H
huyzcommented
The FAQ says: > In general, it isn't an issue to use one network service during early boot and another for late boot (e.g. networkd and NetworkManager). The same goes for configurations, e.g. perhaps for early boot a simple DHCP setups makes most sense while in late boot you have a more complicated network configuration. That's my situation: networkd in early boot and NetworkManager in late boot. The problem is that there seems to be an interface link (`ens3`) left over from systemd-networkd that interferes with NetworkManager, which then fails to apply a netplan-configured interface in its place. This is just a hypothesis. Being a noob to the modern Linux networking stack, I'm not sure what the proper way to resolve this is. But I think one potential solution would be to make sure that initramfs would `ip link set dev ens3 down` when it was done. How could I make dracut-sshd do that?
关闭于 2025-11-10 2 条评论