OpenSolaris

  subsites:   Code Reviews   Gates   Issues   Defects   Polls   Test   PKG   Planet   Mail
You are not signed in. Sign in or register.

Heads up: SMF property value ordering

Date: Fri, 18 Jul 2008 22:10:40 +0100
From: Alan Maguire <Alan.Maguire at sun dot com>
To: on-all at sun dot com, onnv-gate at onnv dot eng dot sun dot com
Subject: Heads up: SMF property value ordering

If you are an SMF service developer, or a consumer of svccfg(1M)
or libscf(3SCF), read on.

My recent putback of:

6715372 SMF repository should store (and allow retrieval of) property
values in the order they were added

...ensures that multiple property values in SMF will be explicitly ordered
from now on. This means that the order of property values modified after
this putback (whether via SMF manifest import, modification via svccfg,
or via libscf) will match the order in which the values are specified.

This is achieved by upgrading the SMF repository format, and for
upgrades the following mesages should appear on reboot post-upgrade:

svc.configd: upgrading SMF repository format...
svc.configd: SMF repository upgrade is complete.

Note that an upgraded repository will continue to work if the
system is later downgraded.

Existing properties will not have a specific order imposed upon them
(prior to this putback property values were unordered), but if existing
values are changed, they will be stored in the specified order.

Bugs, if encountered, should be filed against utility/smf.