Friday February 13, 2009
It Must Be Time for TeaMike Kupfer's Weblog I installed OpenSolaris 2008.11 on my notebook (a VAIO TX) several weeks ago. I've been tweaking the environment, in preparation for the day when I move to OpenSolaris on my desktop system. One of the issues that came up was that gnuserv would exit immediately after being started. This meant that every time I wanted an editor (e.g., for a Mercurial commit), I had to wait for a new XEmacs process to start. I looked around for some sort of error message but couldn't
find anything. I finally started XEmacs using
I added "loiosh" to the localhost (127.0.0.1) line, and that fixed the problem. (2009-02-13 13:49:37.0) Permalink Comments [4]Post a Comment: Comments are closed for this entry. |
Calendar
RSS Feeds
All /General /OpenSolaris /Solaris SearchLinks
NavigationReferersToday's Page Hits: 263 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Maybe name service switch should ensure that if no backend finds a hosts entry for the host's hostname then it should treat it as an alias of localhost. No?
Posted by Nico on February 13, 2009 at 02:05 PM PST #
@Nico: that seems reasonable to me, though I have no idea if that could cause some other problem.
Posted by Mike Kupfer on February 13, 2009 at 02:22 PM PST #
Odd. The OpenSolaris installer normally configures the loopback address to the hostname you supplied to it. If you've got any idea what path got you to this state, would be nice to know.
Posted by Dave Miner on February 13, 2009 at 05:47 PM PST #
Dave: IIRC, the original install was using the "back to school" CD, followed by an image-update to 2008.11rc1, followed by an image-update to 2008.11 final. Using "beadm mount" to look at the older /etc/hosts, I see that the original /etc/hosts had
127.0.0.1 loiosh loiosh.local localhost loghost
The 2008.11rc1 /etc/hosts had
127.0.0.1 loiosh.local localhost loghost
That's what I had with 2008.11 final until I added "loiosh" at the end.
Posted by Mike Kupfer on February 14, 2009 at 01:53 PM PST #