One of the things that we need to do is to automatically apply patches 
during system startup.

The patches are documented as requiring that they be installed in single 
user mode.

Currently, we install them at /etc/rcS.d/S90.

Occasionally we find that there's a problem with this process - either a 
patch is bad or for some other reasons the process fails or hangs.  (In 
a recent case, the mechanism that rebooted the system after installing a 
patch that needed a reboot wasn't getting cleared, leading to a reboot 
loop.)  Putting this processing before "real" interactive single-user 
mode means that you can't get to single-user mode to fix the problem.

What would be nice would be to move this processing to immediately 
*after* interactive single-user mode, so that you can manually fix 
problems when necessary.  Pre-SMF, we could have put them at 
/etc/rc2.d/00.  With SMF the picture is trickier.

Is there any way to cause our stuff to run immediately after 
"interactive" single user mode, and before other multi-user services?

(Of course, the best answer is that the mechanism shouldn't fail, and of 
course any time that we see a failure we will fix the bug, but it'd be 
nice if having such a bug didn't turn your system into a brick.)

Reply via email to