Quoth Priya Krishnan on Thu, Jun 12, 2008 at 06:06:27PM -0400: > 1. Are there pre-defined names for property values (propval), in > other words, is there a list of properties that can be set? I have > seen examples where the propval name='action_authorization', > name='value_authorization' etc. are used to allow a user to > control a particular service. What other properties can be set?
There is not a master list of properties. The properties that can be set for a service is determined by the software which reads it. This always includes svc.configd (for permission checking, documented in smf_security(5)) and svc.startd in its infrastructure role (documented in smf(5) and svc.startd(1M)). This always includes the service's restarter, which is usually svc.startd or inetd (documented in inetd(1M)), which both utilize the standard method properties documented in smf_method(5). Finally the service itself might read properties, for which you should consult its documentation, and we have left open the possibility that other software might read properties for a given service. I suppose that only software which is given permission to affect the service you're wondering about is relevent, though. > Are there default values if I don't have any property-group > entries in my manifest? Sometimes svccfg does infer default values, and sometimes the relevent software chooses default behavior in the absence of any properties. It depends on the software. David