For yakkety resolvconf update; I've updated the SRU test-case to include a more general netplan config for bringing up ethernet devices; the previous version only worked on lxd (or instances with devices named eth0).
With the above change; it looks like yakkety/zesty (due to running systemd-resolved instead of resolvconf service) need an update to the systemd-resolved service the instance is configured to use networkd insteadof ifupdown to ensure that systemd-resolved runs *before* network-online.target.
# On kdbus systems we pull in the busname explicitly, because it
# carries policy that allows the daemon to acquire its name.
This makes things more complicated for this SRU; yakkety/zesty will need an updated systemd; the resolvconf portion of this SRU (for yakkety) is still OK but it's not sufficient to achieve the goal of ensuring DNS is functional *before* we reach 'network-online.target'.
For yakkety resolvconf update; I've updated the SRU test-case to include a more general netplan config for bringing up ethernet devices; the previous version only worked on lxd (or instances with devices named eth0).
With the above change; it looks like yakkety/zesty (due to running systemd-resolved instead of resolvconf service) need an update to the systemd-resolved service the instance is configured to use networkd insteadof ifupdown to ensure that systemd-resolved runs *before* network- online. target.
# diff -u systemd- resolved. service. orig systemd-resolv resolved. service. orig 2017-03-06 19:37:44.206692449 +0000 resolved. service 2017-03-06 19:33:09.467080158 +0000 www.freedesktop .org/wiki/ Software/ systemd/ writing- network- configuration- managers www.freedesktop .org/wiki/ Software/ systemd/ writing- resolver- clients systemd- networkd. service network.target network- online. target
--- systemd-
+++ systemd-
@@ -12,6 +12,7 @@
Documentation=http://
Documentation=http://
After=
+Before=
# On kdbus systems we pull in the busname explicitly, because it
# carries policy that allows the daemon to acquire its name.
This makes things more complicated for this SRU; yakkety/zesty will need an updated systemd; the resolvconf portion of this SRU (for yakkety) is still OK but it's not sufficient to achieve the goal of ensuring DNS is functional *before* we reach 'network- online. target' .