I've been trying to use my OpenSolaris machine with the local IPS server (there
by default, just not enabled, but "svcs enable pkg/server" fixes that...)

My machine is a laptop (surprise) that has the hostname and nodename 
starbug-r600.

With NWAM Phase 1, when I connect to the network, and the Automatic location is
enabled, the /etc/hosts file is replaced with a simple file.

This has the "net" effect (pardon the pun) of making it impossible to resolve
the hostname - I used to have the hostname as an alias for localhost[1] - but
when the new hosts file is moved in (and the old to Legacy) - this alias isn't
there.

So when pkg/server gets started (and probably anything else like apache too)
then it enters maintenance mode since it can't resolve the hostname and in turn
bind. Now, it's probably an issue in itself that pkg/server doesn't simply fall
back to localhost, but that's another issue, IMO.

Shouldn't try to ensure that whatever the network setup, we can resolve the
hostname to something?

Thanks,

Darren.


[1] - This is also an issue in it's own right if you look at the bug:

        http://monaco.sfbay.sun.com/detail.jsf?cr=6555596-2174139

      where James McPherson tells me that is against the RFC standards...
      (it would be nice if someone in the know could advise me here)

Reply via email to