Project

General

Profile

Feature #3430

Support "hostname --fqdn"

Added by Jim Klimov almost 7 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2012-12-25
Due date:
% Done:

80%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

I've recently noted that Linux systems can provide the short host name with "hostname" and for programs which require a domain - an FQDN with "hostname --fqdn".

This is a nicer solution than using something like "`hostname`.`domainname`" (or building conditional clauses to rule out the ending period if domainname is empty), and would help porting some Linux startup scripts for (in-house) programs that use this syntax of hostname invokation.


Related issues

Related to illumos gate - Bug #3758: RFE: Would like "hostname -s"Closed2013-05-02

Actions

History

#1

Updated by Anonymous almost 7 years ago

[spam was here]

#2

Updated by Anonymous almost 7 years ago

ADDITIONAL SPAM?!!!!

OH LORD NO.

#3

Updated by Chris Nehren over 6 years ago

  • Assignee set to Chris Nehren

I've got a start on this, but need to bring it up to the quality illumos demands.

#4

Updated by Chris Nehren over 6 years ago

  • % Done changed from 0 to 70

Most of the work actually done; just need to run a lint build and submit for review.

#5

Updated by Chris Nehren over 6 years ago

  • % Done changed from 70 to 80
  • Tags deleted (needs-triage)

I've got a webrev for this up at http://labs.omniti.com/people/cnehren/webrevs/issue3430/. It implements -f rather than --fqdn to be compatible with existing non-GNU tools.

#6

Updated by Chris Nehren over 6 years ago

  • Status changed from New to Feedback
#7

Updated by Garrett D'Amore about 6 years ago

  • Status changed from Feedback to In Progress

Feedback means something else.... it isn't for things in review.

Please update, and send out another review. I'll be happy to look at it.

#8

Updated by Andrew Stormont over 3 years ago

  • Related to Bug #3758: RFE: Would like "hostname -s" added
#9

Updated by Andrew Stormont over 3 years ago

For some reason I can't close this one as "rejected".

#10

Updated by Yuri Pankov over 3 years ago

  • Status changed from In Progress to Feedback
#11

Updated by Yuri Pankov over 3 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF