Cross-referencing related open bugs that share the same root cause — dracut starting systemd-networkd in the initramfs while the rootfs is managed by NetworkManager, and state from that initrd networkd leaking across the switch-root:
* bug 2158368 — [SRU] DHCP address from initramfs (dracut) persists on Server+desktop with NetworkManager renderer. Same handoff, different residue: a leaked DHCP lease overrides the static Netplan config, where this bug's residue is the stale /run/systemd/netif/state file. * bug 2151789 — systemd-networkd can't be disabled/replaced with e.g. network-manager. Independently traced by the reporter to the same /run/systemd/network/zzzz-dracut-default.network from dracut-network: the initrd networkd claims the interface first, so NetworkManager treats the device as external. * bug 2144891 — Rpi resolute dailies fail to use network resources. Broader entanglement of dracut/networkd/wait-online on Pi images. This bug adds another distinct symptom to that cluster: the stale netif state file silently disables systemd-timesyncd (Packet count: 0, no error logged), so affected Pi systems — which have no battery-backed RTC by default — accumulate unbounded clock drift. For completeness, this was first reported upstream and closed as a downstream integration issue, with the guidance that the distro should not switch networking solutions halfway through boot: https://github.com/systemd/systemd/issues/43016 ** Bug watch added: github.com/systemd/systemd/issues #43016 https://github.com/systemd/systemd/issues/43016 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2160661 Title: systemd-timesyncd never syncs on Pi images: stale /run/systemd/netif/state (ONLINE_STATE=offline) left by initrd-only systemd-networkd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-raspi-settings/+bug/2160661/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
