I set the hostname.
# more /etc/hostname
kafka01.ocff4.com
The hostname is still as follows.
hostname
kafka01
I restart using the following command.
systemctl restart systemd-hostnamed
But still, hostname does not show the FQDN.
hostname
kafka01
Why did systemctl restart systemd-hostnamed not take affect? Is it a bug?