NFS Services Administrator's Guide
Troubleshooting NFS Services
Normal System Startup
Chapter 8356
Normal System Startup
This section explains the system startup sequence and how the NFS,
NIS, and NIS+ daemons are started up in a normal system boot.
1. The /sbin/rc script sources all the files in the /etc/rc.config.d
directory. The files in /etc/rc.config.d contain environment
variables that control the startup and behavior of various processes.
2. The /sbin/rc script runs the scripts in the directories /sbin/rc0.d,
/sbin/rc1.d, /sbin/rc2.d, /sbin/rc3.d, and /sbin/rc4.d, in
that order.
The scripts in the /sbin/rcn.d directories are named
SNNNscriptname, where NNN is a sequence number, and scriptname
is the name of a startup script in the /sbin/init.d directory. Each
of these scripts is actually a link to a startup script in /sbin/init.d.
The /sbin/rc script runs them in order by sequence number.
Following is a partial listing of the /sbin/rc2.d directory:
lrwxr-xr-x 1 root ... S400nfs.core ->
/sbin/init.d/nfs.core
lrwxr-xr-x 1 root ... S406nisplus.server ->
/sbin/init.d/nisplus.server
lrwxr-xr-x 1 root ... S408nisplus.client ->
/sbin/init.d/nisplus.client
lrwxr-xr-x 1 root ... S410nis.server ->
/sbin/init.d/nis.server
lrwxr-xr-x 1 root ... S420nis.client ->
/sbin/init.d/nis.client
lrwxr-xr-x 1 root ... S430nfs.client ->
/sbin/init.d/nfs.client
All the startup scripts for the NFS services are started at run level 2
except the nfs.server script, which is started at run level 3.
Table 8-2 shows the NFS, NIS, and NIS+ startup scripts, in the order
they are run at system startup. It lists the processes that each script
starts and the files and environment variables in /etc/rc.config.d
that influence their behavior.