[Bug 1772137] Re: networkd-dispatcher starts too late to take effect on boot
Julian Andres Klode
1772137 at bugs.launchpad.net
Thu May 31 18:11:12 UTC 2018
Reverted the change for now, this needs more work. I guess we should
reject the bionic SRU and figure out what to do.
** Changed in: networkd-dispatcher (Ubuntu Bionic)
Status: In Progress => Confirmed
** Changed in: networkd-dispatcher (Ubuntu Bionic)
Status: Confirmed => Triaged
** Changed in: networkd-dispatcher (Ubuntu)
Status: Fix Released => Triaged
** Changed in: networkd-dispatcher (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to networkd-dispatcher in Ubuntu.
https://bugs.launchpad.net/bugs/1772137
Title:
networkd-dispatcher starts too late to take effect on boot
Status in networkd-dispatcher package in Ubuntu:
In Progress
Status in networkd-dispatcher source package in Bionic:
Triaged
Bug description:
[Impact]
networkd-dispatcher's systemd unit has default dependencies, which means it starts much, much too late to have any effect for interfaces brought up by networkd at boot (since the events are missed, and not replayed).
We should instead have systemd unit dependencies like this
(replicating systemd-networkd's own):
[Unit]
Description=Dispatcher daemon for systemd-networkd
DefaultDependencies=no
After=systemd-udevd.service network-pre.target systemd-sysusers.service systemd-sysctl.service
Before=systemd-networkd.service
In local testing, this DTRT.
[Test Case]
Start systemd-networkd / boot system with it, ensure networkd-dispatcher is started before it.
Run 'journalctl -o short-precise | grep -i ordering'. There cannot be
any ordering cycles present.
[Regression potential]
Slower boots as systemd-networkd will now only run after networkd-dispatcher.service, and that runs after dbus.service.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/networkd-dispatcher/+bug/1772137/+subscriptions
More information about the foundations-bugs
mailing list