> The only case where nss-myhostname actually makes sense is if you have a read-only /etc, which is not true here.
I disagree. It is annoying that system administrators need to change both /etc/hostname and /etc/hosts instead of being able to change just one place: /etc/hostname (or use hostnamectl). On recent standard Ubuntu, systemd-resolved handles this. Otherwise, libnss-myhostname is what the systemd documentation recommends. https://www.freedesktop.org/wiki/Software/systemd/hostnamed/ https://manpages.debian.org/unstable/nss-resolve -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1741277 Title: Not all platforms running cloud-init end up with the system hostname resolveable by default To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-images/+bug/1741277/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs