Quoth Nicolas Williams on Tue, Feb 06, 2007 at 12:03:33PM -0600: > On Mon, Feb 05, 2007 at 02:08:39PM -0800, David Bustos wrote: ... > If you don't provide a notion of versioning and instead run the upgrade > method whenever the manifest has changed or what have you, then > developers are free to come up with their own versioning scheme. I'm > not sure which is better, but I think I would prefer that the upgrade > method be run whenever the manifest has changed (even if it's only been > touch(1)ed).
True, that's another option. > > Finally since the upgrade method might migrate the administrator's > > customizations, we should probably record that the upgrade method ran, > > and what the configuration was beforehand. I suppose snapshots can be > > used for the latter and a log message could be used for the former. > > Snapshots? Like ZFS snapshots? Or an SMF-specific notion of snapshots? Like the snapshots that service instances have today. See listsnap in svccfg(1M). David