[Bug 1772137] Re: networkd-dispatcher starts too late to take effect on boot

Launchpad Bug Tracker 1772137 at bugs.launchpad.net
Thu Jun 28 07:18:31 UTC 2018


This bug was fixed in the package networkd-dispatcher - 1.7-0ubuntu3.2

---------------
networkd-dispatcher (1.7-0ubuntu3.2) bionic; urgency=medium

  * Revert "Cherry-pick upstream fix to start before systemd-networkd"
  * networkd-dispatcher.conf: Run startup triggers by default (LP: #1772137)

networkd-dispatcher (1.7-0ubuntu3.1) bionic; urgency=medium

  * Cherry-pick upstream fix to start before systemd-networkd (LP: #1772137)
  * debian/gbp.conf: Point to ubuntu/bionic branch

 -- Julian Andres Klode <julian.klode at canonical.com>  Tue, 19 Jun 2018
12:03:47 +0200

** Changed in: networkd-dispatcher (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in networkd-dispatcher source package in Bionic:
  Fix Released

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).

  [Test Case]
  Start systemd-networkd / boot system with it, ensure the current status is replayed when networkd-dispatcher starts.

  [Regression potential]
  The current status is replayed when the service is restarted, and more events run at boot, potentially causing slowdown/problems with hooks not expecting to receive an event a second time (after restart). That said, not replaying the current status on restart would mean we might lose important events during that window.

  [Original approach]
  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.

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