View previous topic :: View next topic |
Author |
Message |
w.hill Tux's lil' helper
Joined: 23 Jan 2005 Posts: 133 Location: Perth, Western Australia
|
Posted: Thu Apr 28, 2005 7:05 am Post subject: Network Startup Scripts |
|
|
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 |
|
|
kirchner n00b
Joined: 19 Nov 2004 Posts: 70 Location: Detroit, MI
|
Posted: Thu Apr 28, 2005 1:42 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|