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

Iván Martínez ivan.martinez@REDACTED
Mon May 12 10:52:21 CEST 2014


Thank you Raimo,
What if i'm working in a project managed by rebar and shared in a
repository?. Then I have to pull, change the configuration to make it work,
work with it, remember to change the hostname configuration back, and push
to the repo. Quite annoying and dangerous.
Greetings,
Ivan Martinez

Date: Fri, 25 Apr 2014 12:33:29 +0200
From: Raimo Niskanen <raimo+erlang-bugs@REDACTED>
To: <erlang-bugs@REDACTED>
Subject: Re: [erlang-bugs] "erl -name app" fails if hostname doesn't
        contain a dot
Message-ID: <20140425103329.GA20398@REDACTED>
Content-Type: text/plain; charset="iso-8859-1"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140512/e3b14f81/attachment.htm>


More information about the erlang-bugs mailing list