[leafnode-list] Re: FQDN and systemd

Matthias Andree matthias.andree at gmx.de
Mon Dec 15 20:35:57 CET 2014


Am 14.12.2014 um 23:36 schrieb Matěj Cepl:
> Apparently everything has to change in the world of systemd, but 
> this I have give its authors at least they provide 
> well-documented nice tools. So in the brave new world of 
> systemd, you are not supposed to edit and exactly write down 
> values in /etc/hostname (or /etc/sysconfig/network or somewhere 
> else), but rather to use hostnamectl(1).
> 
> Apparently 
> https://docs.fedoraproject.org/en-US/Fedora/18/html/System_Administrators_Guide/s2_Set_All_the_Hostnames.html 
> just plain
> 
> # hostnamectl set-hostname name
> 
> is what’s required.

Hi Matěj,

it does not appear to be "required"; it seems to be a convenience
wrapper of some bloatware tool collection that believes it knows
everything better.

This is what I find in the same guide, a bit earlier:

> 8.4. Using Hostnamectl
> The hostnamectl tool is provided for administering the three separate classes of host names in use on a given system. The three classes of hostname are: static, pretty, and transient.
> The static host name is the traditional hostname, which can be chosen by the user, and is stored in the /etc/hostname file.
[...]
found in:
<https://docs.fedoraproject.org/en-US/Fedora/18/html/System_Administrators_Guide/s1_Using_Hostnamectl.html>

It says "provided", not "required", too, here.

And the "hostname" utility for setting the "transient" is standardized
anyhow.  So no need to follow the fad of the day.

Thanks, but I'm not willing to add needless information there,
especially not if it requires me to add "if"s and "but"s (such as "if
your system is using systemd, then...").

Needless complication for users that struggle to configure leafnode...

Best
Matthias



More information about the leafnode-list mailing list