[erlang-bugs] net_adm:ping annoying messages due to /etc/hosts content
PAILLEAU Eric
eric.pailleau@REDACTED
Sun Jun 3 11:38:41 CEST 2012
Hi,
any feedback on this ?
I know it is not a blocking issue, but my logs are full of these
messages and I can't have access to the /etc/hosts in "real life" at my
customer environment.
Is any way to get rid of this whitout access to /etc/hosts ?
Regards.
Le 15/04/2012 19:27, PAILLEAU Eric a écrit :
> Hi,
>
> I don't know if it is a bug but I get very annoying SASL error messages
> as below when I use net_adm:ping() :
>
> ---8<----------------------------------------------------
> =ERROR REPORT==== 15-Apr-2012::19:07:44 ===
> ** System running to use fully qualified hostnames **
> ** Hostname localhost is illegal **
> ---8<----------------------------------------------------
>
> because I have in my /etc/hosts
>
> ---8<----------------------------------------------------
> 127.0.0.1 localhost
> ---8<----------------------------------------------------
>
> I understand that hostnames known by Erlang should be fully qualified
> when node is starting with -name but I wonder why it cares about
> shortnames and especially to localhost because :
>
> the strange thing is that when I change to :
> ---8<----------------------------------------------------
> 127.0.0.1 mylocalhost
> ---8<----------------------------------------------------
>
> I do not have the messages, even if it is not fully qualified too ...
>
> Regards
>
More information about the erlang-bugs
mailing list