Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20829

Summary: setting an FQDN hostname isn't adviced
Product: [OLD] Docs-user Reporter: Lars Weiler (RETIRED) <pylon>
Component: Gentoo Linux x86 Installation GuideAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars Weiler (RETIRED) gentoo-dev 2003-05-11 21:48:37 UTC
The Chapter 19 instructs to set an FQDN.  Quoting the comments of the new
baselayout's (1.8.6.7) /etc/init.d/hostname:

       # We use whatever is in /etc/hostname here.  That means:
       #
       # 1)  For doing it the proper way, you should NOT put a
       #     FQDN in there, but:
       #     a) Only have the hostname in there (no dns/nis domainname)
       #     b) Set the dnsdomainname via /etc/resolv.conf
       #     c) Set the nisdomainname via 'domainname'.
       #
       # 2)  If the user want a FQDN in there, it should be possible
       #     without hacking things to pieces, but then he should
       #     know what he is doing ...
       #

Change this chapter accordingly (it's a small chapter and so it is a simple
change ;-)
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-05-13 07:55:52 UTC
You can find the proposed change on http://cvs.gentoo.org/~swift/gentoo-x86-install.html. However, I haven't added the information about the NIS domain since I think we can safely assume that people who have a NIS domain, know what to do, and people that don't have a NIS domain can easily be confused by it (especially if they don't know what NIS is).
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-05-15 03:09:12 UTC
Committed into cvs.