`/etc/hosts` seems incompatible to `kerberos`

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 hosts.

And I don’t think this is a bug should be submitted for some other software may need current setting.

Directly override 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 hosts?

update:
use

lib.mkOverride 10 ./myhosts

can directly overwrite the system generated one.

2 Likes