On Fri, 17 Nov 2006, Tony Nguyen wrote:

>>
>>  dartmouth 9 =>svccfg -s svc:/platform/sun4u/dcs:default
>> svc:/platform/sun4u/dcs:default> listpg
>> dcs                dependency
>> 
>> ...
>>  dartmouth 8 => more /var/svc/manifest/platform/sun4u/dcs.xml
>> ...
>>
>>         <!-- these are passed to dcs in the method script -->
>>         <property_group name='dcs' type='application'>
>>                 <propval name='ah_auth' type='astring' value='md5' />
>>                 <propval name='esp_encr' type='astring' value='none' />
>>                 <propval name='esp_auth' type='astring' value='none' />
>>         </property_group>
>> 
>> How did these become different?  It looks like this is confusing the 
>> inheritance.

I should have been more clear.  The property group 'dcs' being of type 
'dependency' and not 'application' is what is confusing svccfg and SMF's 
inheritance.  It seems that comes from

/var/svc/manifest/platform/sun4u/dscp.xml

...
         <dependent
             name='dcs'
             grouping='optional_all'
             restart_on='none'>
                 <service_fmri value='svc:/platform/sun4u/dcs:default' />
         </dependent>

Are there standards on naming property groups? And if so, where? 
Regardless, naming your config group the same name as your service is 
asking for a heap of trouble.

-- Dave

Reply via email to