[erlang-bugs] net_adm:ping annoying messages due to /etc/hosts content
PAILLEAU Eric
eric.pailleau@REDACTED
Sun Jun 3 16:38:47 CEST 2012
>
> 127.0.0.1 host.lan host
>
>
> Why is 'localhost' is coming up at all in SASL logs? Do you start any
> of your nodes as "erl -name app@REDACTED"?
>
Hi,
it is mandatory for me because I do not have the short name in
/etc/host, only the long name.
i.e.
192.168.13.1 test1@REDACTED
not
192.168.13.1 test1@REDACTED test1
in second case -name test1 works. You are right.
No we do not use 127.0.0.1 neither localhost for a node name.
I have something like
192.168.13.1 test1@REDACTED
192.168.13.2 test2@REDACTED
...
and the simple fact to have in /etc/hosts :
127.0.0.1 localhost
create the problem, even it is not used...
It is why i suspect a bug.
and, I say again that changing to :
127.0.0.1 mylocalhost
solve strangely the problem ...
I will try with
127.0.0.1 localhost.mydomain.priv localhost
to see what happens
regards
More information about the erlang-bugs
mailing list