Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion detection of hostname

Received: by 10.204.129.9 with SMTP id m9mr3054860bks.1.1351083776382;
        Wed, 24 Oct 2012 06:02:56 -0700 (PDT)
X-BeenThere: erlang-programming@googlegroups.com
Received: by 10.204.7.212 with SMTP id e20ls1841662bke.8.gmail; Wed, 24 Oct
 2012 06:02:55 -0700 (PDT)
Received: by 10.204.149.65 with SMTP id s1mr3055776bkv.3.1351083775877;
        Wed, 24 Oct 2012 06:02:55 -0700 (PDT)
Received: by 10.204.149.65 with SMTP id s1mr3055775bkv.3.1351083775852;
        Wed, 24 Oct 2012 06:02:55 -0700 (PDT)
Return-Path: <erlang-questions-boun...@erlang.org>
Received: from hades.cslab.ericsson.net (hades.cslab.ericsson.net. [192.121.151.104])
        by gmr-mx.google.com with ESMTP id v13si1655805bkw.0.2012.10.24.06.02.55;
        Wed, 24 Oct 2012 06:02:55 -0700 (PDT)
Received-SPF: pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) client-ip=192.121.151.104;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) smtp.mail=erlang-questions-boun...@erlang.org
Received: from hades.cslab.ericsson.net (hades [192.121.151.104])
	by hades.cslab.ericsson.net (Postfix) with ESMTP id 61BFA5C235;
	Wed, 24 Oct 2012 15:02:48 +0200 (CEST)
X-Original-To: erlang-questi...@erlang.org
Delivered-To: erlang-questi...@erlang.org
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45])
 by hades.cslab.ericsson.net (Postfix) with ESMTP id ED6CF5C00F
 for <erlang-questi...@erlang.org>; Wed, 24 Oct 2012 15:02:45 +0200 (CEST)
X-AuditID: c1b4fb2d-b7fea6d000002ccb-8a-5087e6f5610c
Received: from esessmw0197.eemea.ericsson.se (Unknown_Domain [153.88.253.125])
 by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id
 80.81.11467.5F6E7805; Wed, 24 Oct 2012 15:02:45 +0200 (CEST)
Received: from super.otp.ericsson.se (153.88.115.8) by
 esessmw0197.eemea.ericsson.se (153.88.115.88) with Microsoft SMTP Server id
 8.3.279.1; Wed, 24 Oct 2012 15:02:45 +0200
Received: from finrod.otp.ericsson.se (finrod.otp.ericsson.se
 [147.214.122.89])	by super.otp.ericsson.se (8.13.6/8.13.6/SuSE Linux 0.8)
 with ESMTP id q9OD2hAB017582	for <erlang-questi...@erlang.org>; Wed, 24 Oct
 2012 15:02:45 +0200
Received: from finrod.otp.ericsson.se (localhost [127.0.0.1])	by
 finrod.otp.ericsson.se (8.14.4/8.14.4/Debian-2ubuntu1) with ESMTP id
 q9OD2h8v006631	for <erlang-questi...@erlang.org>; Wed, 24 Oct 2012 15:02:43
 +0200
Received: (from raimo@localhost)	by finrod.otp.ericsson.se
 (8.14.4/8.14.4/Submit) id q9OD2hmJ006629	for erlang-questi...@erlang.org;
 Wed, 24 Oct 2012 15:02:43 +0200
X-Authentication-Warning: finrod.otp.ericsson.se: raimo set sender to
 raimo+erlang-questi...@erix.ericsson.se using -f
Date: Wed, 24 Oct 2012 15:02:42 +0200
From: Raimo Niskanen <raimo+erlang-questi...@erix.ericsson.se>
To: erlang-questi...@erlang.org
Message-ID: <20121024130242.GA19...@erix.ericsson.se>
Mail-Followup-To: erlang-questi...@erlang.org
References: <CAA-EFXv4oFGXApcpGUB8BXgTZiUpK8_LqZz2E743ow1ygq0...@mail.gmail.com>
 <1350969338.4753.3.ca...@sekic1152.rnd.ki.sw.ericsson.se>
 <CAA-EFXsKA9jAFYUwe+gahYiazCb-xN5C9+PN=0CbJchvuqb...@mail.gmail.com>
 <20121024072158.GA14...@erix.ericsson.se>
 <CAA-EFXsXLouu=YykcP03SRvBpEia-9fwGwX7P3oSH=rSQW_...@mail.gmail.com>
 <CAFkcMa8CtDZQUmz3qA1QES2mCFsJ26YA=u=_6cFghFZMdoW...@mail.gmail.com>
 <CAA-EFXsym_8y3HTiQODdXkcbpeoqSCtGSXvDiAnP_jCMHgP...@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAA-EFXsym_8y3HTiQODdXkcbpeoqSCtGSXvDiAnP_jCMHgP...@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsUyM+Jvre7XZ+0BBt+2W1jMf3OU3YHR48O9
 aUwBjFFcNimpOZllqUX6dglcGc9/PWAu2C1Ucfv+H/YGxhd8XYycHBICJhJ/+ttZIWwxiQv3
 1rN1MXJxCAmcYpS4cmElG0hCSGAjo8SbqyEQibeMEhub9rBAOHcZJT6vbmSHcFYwSszfOocd
 YlaZxJfj98BsFgFViUt/boHZbAJ2EieXXmECsUUE5CVe/TvJAmILC5hKHJlwDCjOwcELZF+d
 rQcS5hXQlWi5uQjqpCvMEqdbn7JDJAQlTs58AtbLLKAjsWD3JzaQXmYBaYnl/zhAwpwCgRJv
 T20A+0BUQEViysltYCVCQC9vPB83gVF0FpJBs5AMmoUwaAEj8ypG4dzEzJz0ckO91KLM5OLi
 /Dy94tRNjMCwP7jlt+4OxlPnRA4xSnOwKInzciXt9xcSSE8sSc1OTS1ILYovKs1JLT7EyMTB
 KdXAGGwvxDB/bdmd/yfvTau+9doy6qT2Fq+n3t8Y5AQPt65jzZpmv/mOV9rGCReazNsmOAvY
 rQ7aEtyuv2jD5Rgb08YN7WZsb7uy9xUt2HX7aIo8Z9L0/D2rTx7qDNpwdku8sKRU6Astiwz5
 /7GJ92rCT27ZtG7qn+V1/vmeD0S8EyomK61NYnBrU2Ipzkg01GIuKk4EACLFYiNJAgAA
Subject: Re: [erlang-questions] detection of hostname
X-BeenThere: erlang-questi...@erlang.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: General Erlang/OTP discussions <erlang-questions.erlang.org>
List-Unsubscribe: <http://erlang.org/mailman/options/erlang-questions>,
 <mailto:erlang-questions-requ...@erlang.org?subject=unsubscribe>
List-Archive: <http://erlang.org/pipermail/erlang-questions>
List-Post: <mailto:erlang-questi...@erlang.org>
List-Help: <mailto:erlang-questions-requ...@erlang.org?subject=help>
List-Subscribe: <http://erlang.org/mailman/listinfo/erlang-questions>,
 <mailto:erlang-questions-requ...@erlang.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: erlang-questions-boun...@erlang.org
Sender: erlang-questions-boun...@erlang.org

On Wed, Oct 24, 2012 at 11:32:16AM +0200, Vlad Dumitrescu wrote:
> Hi Attila,
> 
> On Wed, Oct 24, 2012 at 11:18 AM, Attila Rajmund Nohl
> <attila.r.n...@gmail.com> wrote:
> > 2012/10/24 Vlad Dumitrescu <vladd...@gmail.com>:
> >> I am considering writing (and publishing) a script that would detect
> >> what kind of Erlang communication is possible on a certain machine.
> >> The script could say "Sorry buddy, you can't use long names on this
> >> machine at all" or "Please add 'foo' to /etc/hosts to let short names
> >> work". Whenever people discover some new edge case on their machines,
> >> they can update the script. Maybe it would be useful to distribute
> >> with OTP?
> >
> > I'm not sure how feasible it is. For example, the "Add 'foo' to
> > /etc/hosts" advice would not work at all if the operating system
> > doesn't use the /ets/hosts file for name resolving, for example on
> > Linux the /etc/nsswitch.conf file has a line like this:
> >
> > hosts: dns
> >
> > In an ideal world, you should only add a line "Turn to your system
> > administrator to properly configure your computer" to the
> > documentation. However, if there's no competent system administrator,
> > you're screwed even if you try to add a "crash course in system
> > administration" to your documentation or try to write a system
> > administrator script.
> 
> You're right. The script can list a few things that might or might not
> work as starting points, so that people aren't completely lost.
> 
> "You will likely have problems if you plan to use distributed Erlang
> (which includes emacs+distel or erlide). Here is a list of detected
> issues and some possible solutions. Since every network is different,
> only your administrator can be sure which one will work. If you are
> the administrator, try them one at a time until it works".

That is a good paragraph. I would suggest changing the last line
to not insult anybody's intelligence into something like:
  the administrator, use them as guidelines".
and let the reader resort to trying in the blind by him/herself.

> 
> best regards,
> Vlad
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions