[Bug 1280529] New: Document incorrectly suggests using FQDN in /etc/hostname
bugzilla at redhat.com
bugzilla at redhat.com
Thu Nov 12 01:43:10 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1280529
Bug ID: 1280529
Summary: Document incorrectly suggests using FQDN in
/etc/hostname
Product: Fedora Documentation
Version: devel
Component: networking-guide
Assignee: swadeley at redhat.com
Reporter: jkeating at j2solutions.net
QA Contact: docs-qa at lists.fedoraproject.org
CC: swadeley at redhat.com
Description of problem:
https://docs.fedoraproject.org/en-US/Fedora/23/html/Networking_Guide/ch-Configure_Host_Names.html#sec_Understanding_Host_Names
This section of the documentation recommends using a FQDN for the static
hostname, which is stored in /etc/hostname. However if one does that, uname -n
(to find the node name) will always return the FQDN. This has impact on
subsystems like python when determining the short name of the host. A better
solution is to use the shortname in /etc/hostname and supply a FQDN in
/etc/hosts.
Version-Release number of selected component (if applicable):
devel (shown as 23)
How reproducible:
Very
Steps to Reproduce:
1. Follow directions leading to FQDN in /etc/hostname
2. uname -n
3. hostname -s
Actual results:
FQDN shown as nodename, which does not match hostname -s
Expected results:
uname -n and hostname -s would both report the same short name, as defined in
/etc/hostname
Additional info:
The RHEL7 documentation also suffers from this defect.
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the docs-qa
mailing list