Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77209 - Domainname should also be set in nisdomainname
Summary: Domainname should also be set in nisdomainname
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-09 02:56 UTC by Aquila
Modified: 2005-01-10 10:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aquila 2005-01-09 02:56:51 UTC
When users don't set their domainname in /etc/nisdomainname the login prompt is broken as are some other domain name dependent features.
I've tested it on 2 freshly installed bugs, symlinking nisdomainname to dnsdomainname fixed the problem.
This doesn't seem a bug according to bug #23441, so it should be changed in the handbook part 1 chapter 8.
This bug seems to give problems when installing qmail according to the docs as qmail relies on a properly set hostname and domain.

Reproducible: Always
Steps to Reproduce:
1. install a fresh system
2. follow handbook: most users don't have NIS so don't set nisdomainname
3. 

Actual Results:  
# domainname
none

login gives ugly hostname.(none)
Comment 1 SpanKY gentoo-dev 2005-01-09 12:10:10 UTC
setup your dns and/or /etc/hosts file

nisdomainname should never be required
Comment 2 Aquila 2005-01-09 12:35:23 UTC
Could you please reopen? I tested this on two different new boxes and it didn't work. I did do everything mentioned in the docs, my hosts etc is fine.
Comment 3 SpanKY gentoo-dev 2005-01-09 12:41:12 UTC
search bugzilla and/or forums ... this has been covered many times ...

nisdomainname is not a solution by any means
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2005-01-10 00:56:28 UTC
I have to agree with SpankY, nisdomainname really should not be set. Make sure your /etc/issue is recent and uses "\O" instead of "\o" (DNS domainname instead of NIS domainname).
Comment 5 Aquila 2005-01-10 05:18:39 UTC
I did some testing and discovered that domainname only returns the nis domainname... Not really intuitive but that's not related to this bug.

I'm sorry to have bothered you with this, my apologies to you SpanKY for asking for reopening.
Comment 6 SpanKY gentoo-dev 2005-01-10 10:58:01 UTC
np, the dns/nis separation isnt exactly all that clear with the core utilties from glibc/util-linux/etc...