I'm using a single tree for diskless workstations, so I don't want to add entries to /etc/hosts since every host has a different name, provided by the dhcp server. But without an entry in this file, hostname -f fails with "hostname: unknown host" and the login prompt displays "This is ag01.unknown_domain (....." Reproducible: Always Steps to Reproduce: 1. 2. 3.
You neglected to include the output of emerge --info Also, which dhcp client are you using?
Well, I thought that the emerge --info was not revelant. And I'm using dhcpcd. Anyway, I found I fixed the problem. You can set the status to INVALID. Cause: DNS entries for the diskless' not present. Reason: dhcpcd doesn't (afaik: can't) update M$ DNS server. M$ f*****g DHCP server (Windows Server 2003) doesn't update M$ DNS server, even with the right options ("always dynamically update DNS A and PTR records" & "Dynamically update DNS A and PTR records for DHCP clients that do not request updates") Solution: I had to create the entries manually.
I want to remember that you had to tell M$ dhcp server to set DOMAIN, etc .. was some time though sinve I did it ...
.