Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network Startup Scripts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
w.hill
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 133
Location: Perth, Western Australia

PostPosted: Thu Apr 28, 2005 7:05 am    Post subject: Network Startup Scripts Reply with quote

Hi,

I've got two SPARCS running GENTOO. For some reason one of them is using the older style network initialisation scripts but not the other. /etc/hostname vs /etc/conf.d/hostname. Both have been updated but I must have stuffed something up when updating conf files.

Can I re-emerge a package to fix the problem. If so which package(s)?

TIA
Back to top
View user's profile Send private message
kirchner
n00b
n00b


Joined: 19 Nov 2004
Posts: 70
Location: Detroit, MI

PostPosted: Thu Apr 28, 2005 1:42 pm    Post subject: Reply with quote

I believe /etc/hostname is needed for the /etc/init.d/hostname script from the latest stable version of baselayout (1.9.4-r6). On my systems with wifi, I have the ~x86 keyword in my /etc/portage/package.keywords file for sys-apps/baselayout (this installs 1.11.11-r2). This latest unstable version uses /etc/conf.d/hostname rather than /etc/hostname.

So, the short answer is that sys-apps/baselayout is the package that provides /etc/init.d/hostname, but you probably don't have to reinstall. Just look at the script and see where it wants to find the config file (/etc/hostname or /etc/conf.d/hostname). You could also try restarting the script:
Code:
# /etc/init.d/hostname restart

If you are using the old config file, you should get a warning to that effect.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum