Our application still has a couple of /etc/rcS.d scripts.

Since they're legacy, we don't do anything explicit to register them 
with SMF, and on uninstall don't do anything explicit to unregister them.

After an uninstall, with the scripts deleted, we were surprised to see 
that SMF still knew about them:

$ svcs -v | grep scn
legacy_run    -    Feb_12   32 
lrc:/etc/rcS_d/S88SUNWscn-update-agent-prepare-singleuser
legacy_run    -    Feb_12   34 
lrc:/etc/rcS_d/S90SUNWscn-update-agent-singleuser

$ ls /etc/rc*.d/*scn*
/etc/rc*.d/*scn*: No such file or directory

Does this situation cause any problems?
How/when does SMF notice that we've installed a script?
Will SMF eventually realize that they are gone?
Is there something we can or should do to prompt SMF to realize that 
they are gone?

Reply via email to