On 31/01/2022 22:19, Robert Nichols wrote:
On 1/30/22 11:24 PM, Ed Greshko wrote:
> On 31/01/2022 00:13, Robert Nichols wrote:
>> FINALLY!!
>> I can get it all to work by putting "fedora.local" in /etc/hostname
_and_ editing /etc/hosts to have "fedora.local" as the
_first_ name for 127.0.0.1 .
>
> I installed a Centos7 system and during the install process called it fedora.local.
By default this was placed in etc/hostname.
>
> I did not add anything in the hosts file. I did make an entry for the host cos7 in
the DNS to make it easier to contact. I also did not
> make a reverse entry.
>
> While yours is:
>
>>
>> [fedora ~]# cat /etc/hosts
>>
127.0.0.1 fedora.local localhost localhost.localdomain localhost4 localhost4.localdomain4
>> ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
>
> Mine is
>
> [root@fedora ~]# cat /etc/hosts
> 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
> ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
>
>>
>>
With both of those in place, "dnsdomainname" and "nfsidmap -d" both return "local", and the mapping works.
>
> Same here. No issues.
My problem is _not_ with the CentOS 7 server. That works just fine with an /etc/hosts
file like yours.
It is the Fedora 35 client that needs the /etc/hosts modification to accept a domain
name.
I needed no such change to my F35's host file for it to function properly. Probably
will never find out why
yours did.
Now, why on Earth did I want to run Fedora anyway? Oh that's right, there was an application I wanted to try that was only available as a flatpak on CentOS 8, and flatpaks have their own level of pain. That's all water over the dam now.
>>
>> I'm out of here. Thanks to all who offered help.
>
> Happy all is well. Wondering why on earth you've not upgraded your systems to
Centos8 :-) :-)
When I upgrade that server, it is _not_ going to be CentOS, probably Rocky Linux or
AlmaLinux.
I have no idea what I'm going to use as my "daily driver" OS, perhaps
something outside of the Red Hat family.
OK. I'm sure you're well aware that no matter what distro you finally choose it
will have its own quirks.
--
Did 황준호 die?