On 07/12/03 Ian Truelsen wrote: > I was looking at the newly re-written install docs (well, done by the > way) and I noticed that the hostname looks to be being broken up as > /etc/hostname as the machine name and /etc/dnsdomainname as the domain > segment. So, if I have mymachine.mydomain.com, then hostname should > have mymachine in it and dnsdomainname should have mydomain.com. > > When I set up my machine like that, on login my hostname is reported > as mymachine.(none). I can only get my full name in by setting the > whole thing in /etc/hostname, and then is reports as > mymachine.mydomain.com.(none). > > Did I misinterpret the documentation, or miss a step?
The "problem" is that agetty displays the domainname as reported by /bin/domainname which is the NIS domainname that is stored in /etc/nisdomainname. This is irritating many people. Personally, I've put my domainname in /etc/domainname and symlinked /etc/dnsdomainname and /etc/nisdomainname to it. An IMO better approach would be to patch agetty to use dnsdomainname (maybe with another letter in /etc/issue). Marius -- [EMAIL PROTECTED] mailing list
