On Mon, 2005-02-07 at 11:45, Benjamin Hornberger wrote:
Hi all,
I have a small network where one machine runs a DHCP and a name server. This machine is also supposed to NFS mount certain directories from other machines in the network. There are appropriate entries for that in /etc/fstab. When I boot the machine, it tries to mount the NFS directories before the name server is started, so it can't resolve the names for the NFS servers and fails. Once the machine is up and running, I can do /etc/init.d/nfs restart, which will work. However, I would like to avoid that extra step.
Any hints? Can I change the startup order of the name server and NFS client? Any drawbacks to this? How would I do it? Any other solution?
Thanks for your help, Benjamin
One possible way is to edit the /etc/init.d/nfs startup file and change the line: # Required-Start: $network $portmap to: # Required-Start: $network $portmap $named That should rearrange the start sequence and have named start before nfs starts. Any changes made may be over written by updates. YMMV. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge