Jon Krueger writes:
> Some additional info requested:
> 
> # svcprop -C labeld | grep svctag
> # svcprop -c labeld | grep svctag
> labeld/svctag_inst astring foo
> 
> 
> > # svcs labeld
> > STATE        STIME      FMRI
> > disabled     14:17:50   svc:/system/labeld:default
> > 
> > # svcprop labeld | grep svctag
> > labeld/svctag_inst astring ""
> > 
> > # svccfg -s svc:/system/labeld:default setprop labeld/svctag_inst = 
> > astring: foo
> > svccfg: No such property group "labeld"
> 
> 
> -- Jon

Jon,

A property group can be defined for either a service or a service instance.
Service instances inherit property groups and properties from the service.
>From the output of svcprop with -c and -C options, it looks as if the
labeld property group is defined on the service.  Thus, you might want to
try this svccfg command:

svccfg -s svc:/system/labeld setprop labeld/svctag_inst = astring: foo

Note that I removed ":default" from the -s option.  This should set the
property in the service.  Note that you'll want to do a svcadm refresh
after you create this property.

tom

Reply via email to