[erlang-bugs] "erl -name app" fails if hostname doesn't contain a dot

Raimo Niskanen raimo+erlang-bugs@REDACTED
Fri Apr 25 12:33:29 CEST 2014


On Fri, Apr 25, 2014 at 12:25:38PM +0200, Iván Martínez wrote:
> Thank you Bengt. I think it should allow "localhost". Not every computer is
> a server in a registered domain name, and in such situations, I don't think
> having no domain name is so uncommon. I'm using a Ubuntu-based distro and
> it didn't require setting a domain during installation, so I think it's
> likely that many people will have the same issue. I didn't have any issue
> with any other piece of software.

For this situation you are supposed to use "erl -sname app" i.e
explicitly use short host names.

> Also, like I said, there is a misleading contradiction. If you decide that
> a FQDN is required, then "erl -name app@REDACTED" should fail.
> Iván
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 24 Apr 2014 15:33:17 +0200
> From: Bengt Kleberg <bengt.kleberg@REDACTED>
> To: undisclosed-recipients:;
> Cc: <erlang-bugs@REDACTED>
> Subject: Re: [erlang-bugs] "erl -name app" fails if hostname doesn't
>         contain a dot
> Message-ID: <1398346397.5728.86.camel@REDACTED>
> Content-Type: text/plain; charset="ISO-8859-1"
> 
> Greetings,
> 
> "hostname -f" should display the the FQDN (Fully Qualified Domain Name).
> A FQDN consists of a short host name and the DNS domain name. I think
> that only "localhost" is not correct.
> 
> 
> bengt

> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs


-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-bugs mailing list