> Excerpts from Scott Moser's message of Tue Oct 11 00:18:27 UTC 2011:
> > gethostbyname(hostname) is non-determinable.
> > there could be multiple responses. and indeterminable order.
> >
>
> Agreed, which is precisely why I believe cloud-init must leave the FQDN
> out of /etc/hosts if there is any response to this call.
That doesn't make any sense. Its non-determinable, its non-determinable
when cloud-init runs as well as later on.
When cloud-init ran to decide if there was a response to this call, it may
give a single value, or may give 4 values, or may give no response. That
may change later on when some other utility was asking.
On Tue, 11 Oct 2011, Clint Byrum wrote:
> Excerpts from Scott Moser's message of Tue Oct 11 00:18:27 UTC 2011: hostname) is non-determinable.
> > gethostbyname(
> > there could be multiple responses. and indeterminable order.
> >
>
> Agreed, which is precisely why I believe cloud-init must leave the FQDN
> out of /etc/hosts if there is any response to this call.
That doesn't make any sense. Its non-determinable, its non-determinable
when cloud-init runs as well as later on.
When cloud-init ran to decide if there was a response to this call, it may
give a single value, or may give 4 values, or may give no response. That
may change later on when some other utility was asking.