On Saturday 2015-02-28 14:25, Johannes Kastl wrote:
I found a mail from lennart, who said /etc/hostname should not contain the FQDN. [1] The systemd manuals apparently state there should not be dots in the argument to hostnamectl [2].
How do the various things on openSUSE expect the output of 'hostname' to be? FQDN or not? [1] > http://lists.freedesktop.org/archives/systemd-devel/2013-February/008899.htm...
(open)SUSE itself has used different approaches over time, i.e. sometimes with FQDN, sometimes without. Since the abandonment of /etc/domainname and leaving the "kernel.domainname" sysctl empty some decade ago, the distro generally chose to put the FQDN in /etc/hostname, and the initial installation with yast would write linux-4qfn.site into /etc/hostname, too. Under the right circumstances, certain internet-facing daemons can emit a domainname-less hostname into transmissions, which may not be desired in all cases. (I am thinking of smtp here where half-assed and unresolvable EHLO statements could in theory raise spam scores.) So using FQDN whereever possible and now relying on DNS tacking it on somewhere, is a good approach for now. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org