I try to connect a fedora client to my server with Fedora 36. I've set /etc/hosts and executed a "hostnamectl set-hostname..." command... but the script complains about a lack of FQDN. My DNS SERVER also knows the name of this client... Then, wat's the problem ? Thanks in advance !
Here's the text shown on my console: [administrator@bib03 ~]$ cat /etc/hosts 192.168.2.92 bib03 bib03.ccm.indloverval.be 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 [administrator@bib03 ~]$ sudo hostnamectl Static hostname: bib03.ccm.indloverval.be Icon name: computer-desktop Chassis: desktop 🖥 Machine ID: 7c23b334c1834b889c6f0276b0851780 Boot ID: f702a61b7da34472ae90265c03c246bb Operating System: Fedora Linux 36 (Workstation Edition) CPE OS Name: cpe:/o:fedoraproject:fedora:36 Kernel: Linux 5.17.13-300.fc36.x86_64 Architecture: x86-64 Hardware Vendor: Dell Inc. Hardware Model: OptiPlex 760 [administrator@bib03 ~]$ sudo ipa-client-install This program will set up IPA client. Version 4.9.9
invalid hostname: pas pleinement qualifié The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information
Please make canonical hostname FQDN. Your /etc/hosts has non-FQDN as canonical hostname.
/etc/hosts
192.168.2.92 bib03 bib03.ccm.indloverval.be
it should be
192.168.2.92 bib03.ccm.indloverval.be bib03
See man page hosts(5).
hosts(5)
Note that using FreeIPA issue tracker for this kind of questions is not recommended. This is configuration issue and should be discussed at freeipa-users@ mailing list instead.
Metadata Update from @abbra: - Issue close_status updated to: invalid - Issue status updated to: Closed (was: Open)
It works. Thank you very much !!!