hi,
  i'm trying to get the big picture re: the lifecycle of a Svc's
manifest (xml file).

  i apply a patch that adds a new manifest (.xml) and binary to a
sys for the iscsitgt Service.

  i enter commands that add to the SCF-based state of the Svc.  eg,
svccfg commands and the /lib/svc/bin/sqlite cmd can be used to show
that associated state expectedly changes at both these levels.

  if i uninstall the patch (patchrm), what i see is that the SQL-level
data in the database and the svccfg-level data still contains the
stuff that i had added when the patched binary was running.

  doesn't smf "magically" restore a snapshot of the previous manifest
(.xml) ...or something such that i can return to my previous version
of persistent state?  ...or does the binary have to make scf_delete_pg()
calls in order to delete a PropertyGroup ?  if so, what can my code
hook into so that I could make such calls?

thanks
/andrew


Reply via email to