Quoth Paul Neary on Thu, May 07, 2009 at 05:41:14PM +0100: > Does the repository get updated each time I use an svccfg command though > (before doing a refresh)?
Yes. Changes are stored on the directly attached properties, and refresh updates the running snapshot. > I'm still not seeing this working on Nevada 113 however. I'm running > an svccfg script to add the options and do a refresh (see attached). > svccfg -f ./svccfg_add > > o The -p seems not to work > # svcprop -p options/logging svc:/system/svc/restarter:default > svcprop: Couldn't find property group `options' for instance > `svc:/system/svc/restarter:default'. It works for me on 109. What does truss -t \!all -u libscf svcprop -p options/logging ... report? > Is this unusual behavior something to do with sv.startd being the master > SMF service? Yes and no. svc.startd knows that instance is special and avoids operating on it to prevent strange things from happening. This includes updating, or even creating, a running snapshot. However, svcprop and svc.startd know to fall back to the current properties if the running snapshot doesn't exist, so that svcprop should work anyway. David