Hello all,

Now that I think of it, and review the code more thoroughly, Solaris 10 (at 
least u6 and later) may have a similar problem as OpenSolaris - much of the 
shutdown logic is already gone from /etc/rc0 - killalls in particular, so in 
fact the Sol10 version of the script patch sleeps (if needed according to 
UPS-shutdown logic) without exiting the script and without passing execution to 
filesystem export/unmounting which is already elsewhere.

As it happens, my script was guaranteed to work as planned only in Sol 8 and 9 
(where this added logic was in the very end of script, after killalls and 
unmounts), and maybe in very early releases of 10 - I'm not sure now ;)

So my original question actually does pertain to Solaris 10 and newer in 
general - 
how can I plug in my modified shutown logic between "killall" and "export / 
umount" in one case, and between "export / umount" and "halt / reboot" in 
another? Is it still possible in Solaris 10, OpenSolaris and newer, or is all 
the shutdown logic not a script but a monolithic binary of some sort now?

Thanks,
//Jim Klimov
-- 
This message posted from opensolaris.org
_______________________________________________
sysadmin-discuss mailing list
sysadmin-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to