Results 1 to 6 of 6
When starting the computer...when it's probing for hardware and everything I get two warnings:
Code:
/etc/hostname should be in /etc/conf.d/hostname
*AND*
/etc/dnsdomainname should be in /etc/conf.d/domainname
the warnings go something ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-20-2005 #1Linux Enthusiast
- Join Date
- Jun 2005
- Location
- Odessa, FL
- Posts
- 586
/etc/hostname and /etc/dnsdomainname warnings
When starting the computer...when it's probing for hardware and everything I get two warnings:
the warnings go something like that...i don't remember exactly. is this a security issue or something? how should i fix it? i'm kind of afraid of logging in as root and just moving the folder to where it wants it...not sure what the effect would be, though it might just fix this without any problemsCode:/etc/hostname should be in /etc/conf.d/hostname *AND* /etc/dnsdomainname should be in /etc/conf.d/domainname
thanks in advance for any info/advice/suggestions on this
it's not really bothering me, but if the folders should be moved to where it wants them, i might as well do it...just not 100% sure how i should (a safe way)
- 06-20-2005 #2
I was wondering this myself (but I'm too lazy to post :P). The following did NOT work:
So if anyone has any other ideas, I'd be grateful also.Code:mv /etc/hostname /etc/conf.d/hostname mv /etc/dnsdomainname /etc/conf.d/dnsdomainname
- 06-22-2005 #3Linux User
- Join Date
- Nov 2003
- Location
- Brooklyn, NY
- Posts
- 347
Well you do not have to move it. Try linking the files.
See if that works.Code:# cd /etc/conf.d/ #ln -s /etc/hostname hostname #ln -s /etc/dnsdomainname dnsdomainname
- 06-22-2005 #4Linux Enthusiast
- Join Date
- Jun 2005
- Location
- Odessa, FL
- Posts
- 586
i'm on a fresh install now (learned a bit more about gentoo...cflags, use, etc,.. and wanted to start over) and typed that in and there's no more warning. it looks like it worked
Originally Posted by Slip
thanks
- 06-24-2005 #5
Alrighty. Here's the actual solution, according to the updated Gentoo Handbook.
The /etc/hostname and /etc/domainname files are now unneeded, and can be deleted. The /etc/conf.d/hostname file should be:
And the /etc/conf.d/domainname file is:Code:HOSTNAME=<YOUR HOSTNAME> HOSTNAME="tux"
Make sure that domainname is in your runtime stuff:Code:DNSDOMAIN=<YOUR DNS DOMAIN NAME> DNSDOMAIN="homenetwork"
And there you have it!Code:rc-update add domainname default
- 06-24-2005 #6Linux Enthusiast
- Join Date
- Jun 2005
- Location
- Odessa, FL
- Posts
- 586
thanks!
Originally Posted by Cabhan 
i'm going to do that now


Reply With Quote
