Once I've added eth1 to my system and remebered I had to run some script after making the net.eth1 script. Please, document directly in /etc/conf.d/net that: when configuring more interface cards(or even eth1394 or usbnet interfaces), user has to do: cd /etc/init.d cp net.eth0 net.eth1 # softlink doesn't work! rc-update add net.eth1 default depscan.sh Reproducible: Always Steps to Reproduce: 1. 2. 3.
sounds like you need to update your baselayout softlinks work just fine with the latest version
also, in http://www.gentoo.org/doc/en/rc-scripts.xml it talks about running depscan.sh
I used gentoo 1.4 installation CDs and if I remeber right, the softlink did not work. The http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=8 doesn't talk about that document(rc-scripts.xml)! So the rc-scripts.xml says: "It should be run whenever a new rc-script is added to /etc/init.d/, but since rc-update automatically calls it, most users should not need to run it." My question is. Are you sure it get's called automatically? Why did I have to google around and find what I have to do to add the net.eth1 script?
like i said, make sure your baselayout is up-to-date ... softlinks used to be broken but they've been fixed as for why you had to google, i dunno ... couldnt you read the Gentoo documentation index ?
Users shouldn't deal with depscan.sh. rc-update really uses it, yes :) When you add an initscript to some runlevel, the following code is executed: """ regen=1 einfo "${myscript} added to runlevel ${x}" """ This change of the regen variable forces depscan.sh to be run: """ if [ "${regen}" -eq 1 ] then /sbin/depscan.sh einfo "rc-update complete." fi """ Concerning the symlinks: they work, but I believe some users update baselayout without letting the changes go through (i.e. they discard the ._cfg stuff) making the symlinks fail nevertheless.
I don't see the need to go talk about depscan.sh more than is currently the case (i.e. just mentioning it once). The tool isn't meant for immediate usage (otherwise it would have a manpage :).