>Ok, maybe I didn't ask the right question then. Say I look at two >services in Solaris, say rpc/bind, and smtp. smtp checks its >config/local_only property in its start method, via >svcprop -p config/local_only $SMF_FMRI. > >On the other hand, bind takes its state from scf_simple_prop_get. So we >have two services with really different behaviors with respect to >repository updates. Is one of them preferred? Just a style thing? A >bug? Does this have implications for the refresh/restart methods for >services based on which style you choose?
It's a question of "we own the code" versus "community owns the code"; certainly in that case. (Clearly, the code embedded in rpcbind is heaps more efficient; and it allows the service to be refreshed; it can now change the settings while it remains running.) Casper