We have repeatedly rejected nss-myhostname as a solution in Ubuntu; it adds additional runtime complexity for an issue that had been serviceably addressed by configuring /etc/hosts in tandem with /etc/hostname. The only case where nss-myhostname actually makes sense is if you have a read-only /etc, which is not true here.
AIUI lxd is setting /etc/hostname, but is not adding the Ubuntu-standard entry (127.0.1.1 hostname.domain hostname) to /etc/hosts; so that should be fixed in lxd. -- 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