webrev at: http://cr.opensolaris.org/~amaguire/smf_ordered_values/
Additional testing revealed some additional changes were needed beyond those described here: http://www.opensolaris.org/jive/thread.jspa?threadID=63250&tstart=0 Specifically, handling for nonglobal zones - where the persistent repository is immediately writable - and svccfg handling of multivalued properties on import needed to be addressed also. The first issue is solved by an additional upgrade check, the second is solved by changing the uu_list svccfg uses to store property values during import to be ordered, rather than sorting it by strcmp()-based comparison of values. I've tested this pretty thoroughly in global and nonglobal zones, run the SMF test suite in baseline, bfu-upgraded and bfu-downgraded scenarios, and all tests pass as expected (though a few tweaks to a few SMF suite testcases are needed since they expect imported values to be in a strcmp()-sorted order). I'll do some xVM testing also - are there any other suggestions for test scenarios beyond this and the bfu upgrade/downgrade (with nonglobal zones configured and tested also) testing mentioned above? Thanks! Alan