OpenSolaris

Printable Version Enter a New Search
Bug ID 6389280
Synopsis Should be able to tell which service property is not in running snapshot, validate before refresh
State 1-Dispatched (Default State)
Category:Subcategory utility:smf
Keywords
Reported Against
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs
Submit Date 23-February-2006
Last Update Date 31-January-2007
Description
Customer would like to examine new service properties that have been added or change, that differ from the properties in the running snapshot.  Specifically, if he uses svccfg to modify some service property, he wants a command (possibly a sub-command of svccfg) to show him what he's changed.  If eventually there is the ability to version snapshot and look at the difference between two snapshots, that would be nice too, but for now, this is all he's asking for.

Additionally, when using svccfg to modify service property, it does not validate what's been added or altered.  This differs from svccfg import in that it will validate the manifest and refuse to import if there are errors.  Customer would like svccfg to validate his on-the-fly changes as well.

something like this, perhaps:

svccfg -s FMRI
>addpg something
>setrop something/foo = ...
>diff running
>verify
>exit
svcadm refresh FMRI

BTW zonecfg has verify and commit -- SMF has svcadm refresh but perhaps you can think about using verify and commit just for consistency sake.
Work Around
N/A
Comments
N/A