init script link clashes, debian, update-rc.d, /etc/rc2.d
Hello,
I am running Debian 4 and needed to install NIS and autofs. Both of these were installed fine through apt-get however they had problems initialising. an ls of /etc/rc2.d showed Code:
my_machine_name:/etc/rc2.d# ls Is it normal for Debian to give init script links identical numbers or should I try to change this? If so is this a case of just changing them by hand or should I be using some kind of automated tool like 'update-rc.d'? Many Thanks, Max. |
Quote:
This is normal, I have plenty of 20s for example. Certainly, you can edit those numbers. Moreover you can do it, whichever way you like. Question is: what for? I don't think changing order of those scripts will help, unless you proved that already by running them manually. I suspect some configuration or network problems, rather than just wrong order. What kind of error do you get running them? -- KTG |
Hello,
I was not getting any actual error messages per se. However, NIS (ypbind) absolutely needs to be started before autofs it seems and in the initial configuration this was not happening. When I manually changed the link making autofs a greater number than (hence starting after) nis it worked fine. I am not certain this is a Debian problem as I was simultaneously setting this up of Fedora which had a similar problem of the domainname variable not being set properly. It seems that whilst NIS and and autofs and easy to install, they need some tweaking to interact correctly post installation. Many Thanks. Max. |
All times are GMT -5. The time now is 01:21 PM. |