[erlang-bugs] "erl -name app" fails if hostname doesn't contain a dot
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 " should fail.
> Message: 3
> Date: Thu, 24 Apr 2014 15:33:17 +0200
> From: Bengt Kleberg <>
> To: undisclosed-recipients:;
> Cc: <>
> Subject: Re: [erlang-bugs] "erl -name app" fails if hostname doesn't
> contain a dot
> Message-ID: <>
> Content-Type: text/plain; charset="ISO-8859-1"
> "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.
> erlang-bugs mailing list
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-bugs