According to Kerberos - ArchWiki
Note that the FQDN (myclient.example.com) must be the first hostname after the IP address in the hosts file.
But no matter how I set
networking.hosts, I cannot make the FQDN the first item in
And I don’t think this is a bug should be submitted for some other software may need current setting.
environment.etc.hosts.source does not work either (conflicted option values)
Maybe an option should be added so that I can hard code my own
lib.mkOverride 10 ./myhosts
can directly overwrite the system generated one.