Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35920

Summary: No reference to adding the /etc/init.d/hostname to the runlevel default
Product: [OLD] Docs-user Reporter: Bill Chmura <bill>
Component: HandbookAssignee: Sven Vermeulen (RETIRED) <swift>
Status: RESOLVED INVALID    
Severity: normal CC: docs-team
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=8
Whiteboard:
Package list:
Runtime testing required: ---

Description Bill Chmura 2003-12-15 22:52:05 UTC
I am not sure if it is not needed in some installs, but me and at least one other person both had to perform it so our machines could identify themselves.

There is an entry for dnsdomainname, but none for rc-update add hostname default

Reproducible: Always
Steps to Reproduce:
1. Read docs
2. Its not there
3.
Actual Results:  
The new machine can't get its own hostname 

Expected Results:  
rc-update add hostname default 

Like I said, maybe my machine is misconfigured somewhere else and I really should 
not need it, but I do...
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-12-17 22:51:43 UTC
Bill, can you check if hostname is in the boot runlevel? It is on my PCs and I don't remember I did it manually.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-12-20 01:22:42 UTC
The "hostname" init script is automatically added to the boot runlevel. It is listed in the rc-lists/boot file which is contained in the rc-scripts tarball of the baselayout package and installed by the baselayout ebuild.