init states in SVR3

David Elliott dce at mips.COM
Thu Jun 30 02:56:01 AEST 1988


We've run into an interesting situation in SVR3 and SVR3.1 having to do
with changing run states.

It seems to me that changing from state X to state Y would require
running each of the files in /etc/rcX.d with the "stop" argument and
then running each of the files in /etc/rcY.d with the "start"
argument.

This doesn't happen.  The result is that when someone changes from
state 2 to state 1 and then back to 2, there are some daemons, like
cron, started again.

Something I noticed is that /etc/rc1.d will unmount all filesystems and
kill all running processes, resulting in what sounds like single-user
mode to me.  Then again, inittab doesn't reference /etc/rc.1 at all.

Could someone out there explain what should really happen when the run
state is changed?

-- 
David Elliott		dce at mips.com  or  {ames,prls,pyramid,decwrl}!mips!dce



More information about the Comp.unix.questions mailing list