On Thu, 2008-02-14 at 10:22 -0500, Chris Lewis wrote:
> The point here really is that I'm trying to build code that is portable, 
> and possibly quite widely deployed.  Futzing around with what hostname 
> returns on a given OS instance simply isn't an option.  The real issue 

I was guessing that it might have been standardized but for Solaris
(SYSVr4) this was documented and configurable before Linux existed.

> here is that $self->qp->config(me) is ignoring the config/me file, and 
> appears to be unconditionally taking hostname.  This will mostly be 
> unnoticable on Linux, where hostname does return the FQDN.

Not on my linux boxes.

> 
> BTW: On solaris, the only argument hostname takes is if you want to 
> _set_ the hostname.  "hostname -f" sets the hostname to "-f".  So, don't 
> try that on Solaris at home folks ;-)

Read the documention then.  Sun documented this properly and you can
have the hostname command return what you want.

-- 
--gh


Reply via email to