Starting with zesty container that has 232-21ubuntu5 installed.
Removed libnss-resolve.
Reboot.
Notice that systemd-resolve is not enabled.
Upgrade to 232-21ubuntu6.
.... and systemd-resolved was not enabled by default
This is a fail, the version number in postinst is too low when comparing whether or not resolved should be enabled or not.
Starting with zesty container that has 232-21ubuntu5 installed.
Removed libnss-resolve.
Reboot.
Notice that systemd-resolve is not enabled.
Upgrade to 232-21ubuntu6.
.... and systemd-resolved was not enabled by default
This is a fail, the version number in postinst is too low when comparing whether or not resolved should be enabled or not.