Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100736 - baselayout-1.11.13 does not set domainname correctly
Summary: baselayout-1.11.13 does not set domainname correctly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-29 10:57 UTC by Richard Scott
Modified: 2005-07-29 12:32 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 Richard Scott 2005-07-29 10:57:54 UTC
I have noticed that in /etc/init.d/domainname it does not actually set 
domainname and sets domainname when setting nisdomainname.

Reproducible: Always
Steps to Reproduce:
1. emerge baselayout-1.11.13
2. edit /etc/conf.d/domainname
3. /etc/init.d/domainname restart
4. compare the output from `domainname -f` and `domainname`
Actual Results:  
the command domainname ${DNSDOMAIN} is not executed and if NISDOMAIN is set 
then domainname ${NISDOMAIN} is executed by misteake

Expected Results:  
set domainname to DNSDOMAIN and nisdomainname to NISDOMAIN

See: http://forums.gentoo.org/viewtopic-p-2611065.html#2611065 for the fix.
Comment 1 SpanKY gentoo-dev 2005-07-29 12:32:52 UTC
domainname doesnt do what you think it does ... review `man domainname`

the current behavior of the domainname script (while not completely intuitive at
first glance) is correct