It seems like we should have a general path that covers
a.) dns working in initramfs (currently dns does not, it is missing libnss_dns.so.2)
b.) network interfaces that are left up from initramfs getting resolvconf populated in the "real root".
My idea for this was just to have initramfs's configure_networking write a file in /run/network/ that was then read by systemd-resolved when it started.
At https:/ /bugs.launchpad .net/ubuntu/ +source/ open-iscsi/ +bug/1713537/ comments/ 1 I described how open-iscsi (iscsi root) works with resolvconf in xenial -> zesty. We will need a solution for that path as well as 'root=squashfs:http:// ...../squashfs' that MAAS now uses.
It seems like we should have a general path that covers
a.) dns working in initramfs (currently dns does not, it is missing libnss_dns.so.2)
b.) network interfaces that are left up from initramfs getting resolvconf populated in the "real root".
My idea for this was just to have initramfs's configure_ networking write a file in /run/network/ that was then read by systemd-resolved when it started.