OpenSolaris

Printable Version Enter a New Search
Bug ID 6641990
Synopsis *svcs* should not show instances which don't have a 'general' property group
State 3-Accepted (Yes, that is a problem)
Category:Subcategory utility:smf
Keywords oss-bite-size | oss-request
Sponsor
Submitter
Responsible Engineer Thomas Whitten
Reported Against s10u4_fcs
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs 6641994
Submit Date 14-December-2007
Last Update Date 9-September-2008
Description
Instances that are present in the repository just to hold external dependencies
(until they are imported) should not be listed by svcs to avoid confusions. 

Eg.

testa.xml defines a dependency with testb:default as follow:
        <dependent
                name='aservice-service-b'
                grouping='optional_all'
                restart_on='none'>
                <service_fmri value='svc:/test/testb:default' />
        </dependent>

# svccfg import testa.xml

# svcs -a | grep test
disabled       15:11:41 svc:/test/testa:default
-              svc:/test/testb:default

testb:default should not appear.

# svcprop testb
aservice-service-b/entities fmri svc:/test/testa
aservice-service-b/external boolean true
aservice-service-b/grouping astring optional_all
aservice-service-b/restart_on astring none
aservice-service-b/type astring service
restarter_actions/refresh integer 88533389923566
Work Around
N/A
Comments
N/A