Quoth Fu Zhi-jun on Mon, Sep 11, 2006 at 06:11:01PM +0800: > Then which repository is in effect after rebooting? the current one > or the running one?
Both property versions are available. Which is effective depends on the consumer. Most consumers should use the running version of most properties. A few, like general/enabled, should have different semantics, so the consumer (svc.startd) uses the current version. Which means that other consumers of that property should also use the current version. This isn't intuitive, but it appears that it is too late to fix this. There is a bug for this (6234283 svcprop isn't always accurate for queries on general/enabled), though. I think the best fix will be to have a higher-level interface which can abstract this away from most users (probably "Visual Panels" http://opensolaris.org/os/project/vpanels ). > And, in my case, do I need to use svcadm refresh, or just change the > current repository will be enough? Well for the "general/enabled" property, svc.startd will respond to it immediately, and ignores the running version. So there's no need to run "svcadm refresh" after changing it. Your property is in the "config" property group, though. Whether you need to run "svcadm refresh" after changing it depends on whether your consumers use the running version (plain svcprop) or the current version (svcprop -c). Unless you want immediate semantics like general/enabled, you should run "svcadm refresh" after modification, which will make the new value available via plain svcprop. David