Bug 190225 (hostnameSolaris) - Use check-hostname on Solaris for setup
Summary: Use check-hostname on Solaris for setup
Keywords:
Status: CLOSED WONTFIX
Alias: hostnameSolaris
Product: 389
Classification: Retired
Component: Install/Uninstall
Version: 1.0
Hardware: sparc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nathan Kinder
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 152373 240316
TreeView+ depends on / blocked
 
Reported: 2006-04-28 21:46 UTC by Rich Megginson
Modified: 2015-01-04 23:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-01 13:39:54 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.