OpenSolaris and gnuserv
By mkupfer on Feb 13, 2009
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
truss -f. Looking at the
output, I saw
gnuserv was looking in /etc/hosts and not
finding an entry with the notebook's hostname ("loiosh").
I added "loiosh" to the localhost (127.0.0.1) line, and that fixed the problem.