Bug 190225 (hostnameSolaris)

Summary: Use check-hostname on Solaris for setup
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: Install/UninstallAssignee: Nathan Kinder <nkinder>
Status: CLOSED WONTFIX QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: benl, ohegarty, rcritten, rmeggins
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-01 13:39:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 152373, 240316    

Description Rich Megginson 2006-04-28 21:46:15 UTC
Rob gives us this:

On Solaris I'm using this instead. It already provides a program that REALLY
jumps through hoops to get the hostname (checks NIS, DNS, local files, etc), so
I'm going to use that instead. I use it in my script like this:

/usr/lib/mail/sh/check-hostname | awk 'BEGIN { FS=" " } { if ($3 == "OK:") {
print $7 } }'

We should use this for any setup type code that needs the FQDN or hostname.

Comment 1 Rob Crittenden 2006-05-01 12:36:05 UTC
I should point out that this is in the package SUNWsndmu