I've tested Before=network-pre.target; that works fine.  However, for
the networkd case, systemd-networkd-wait-online.target should ensure
that systemd-networkd-resolvconf-update.service has run first otherwise
there might a window where interfaces are configured, but DNS is not.

The following change should go against systemd-networkd-wait-
online.service


+ # Ensure that DNS is working before reaching online target
+ After=systemd-networkd-resolvconf-update.service

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636912

Title:
  systemd-networkd runs too late for cloud-init.service (net)

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1636912/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to