Possible bug with hostname lookup

Xiangfu Liu xiangfu at sharism.cc
Sat Dec 18 09:59:49 EST 2010


Hi David Kuehling

thanks for report. applied: 
  [add 127.0.0.1 BenNanoNote to hosts file] http://qi-hw.com/p/openwrt-xburst/170c1c4

On 12/18/2010 09:17 PM, David Kuehling wrote:
> Hi,
> 
> I just stumbled into a problem with the Emacs package.  I made it run a
> more usual start-up sequence, and now it tries to find out the fully
> qualified domain-name of the NanoNote at startup.
> 
> So what it ends up is calling 'gethostbyname()' with the name
> "BenNanoNote" (as set in /etc/hostname).  And this makes it dial out to
> the nameserver configured in /etc/resolv.conf waiting a *long* time for
> a timeout (it's not routed to the internet here).
> 
> The correct fix would be to add the line
> 
> 127.0.0.1 BenNanoNote
> 
> to /etc/hosts.  
> 
> Note that Ubuntu installations do the same thing.  Just changed my
> /etc/hosts, and now Emacs starts up without the timeout.
> 
> cheers,
> 
> David
> 
> 
> 
> _______________________________________________
> Qi Hardware Discussion List
> Mail to list (members only): discussion at lists.en.qi-hardware.com
> Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion


-- 
Best Regards
Xiangfu
-- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml --




More information about the discussion mailing list


interactive