http://defect.opensolaris.org/bz/show_bug.cgi?id=10156

           Summary: svcs-enable and svcs-disable property of location can
                    set the same value
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: CLI
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: huawei.zhang at sun.com
         QAContact: nwam-dev at opensolaris.org


Here I create a loc, set both svcs-enable and svcs-disable to sendmail:
bash-3.2# nwamcfg list loc loc1
LOC:loc1
        activation-mode                 manual
        enabled                         false
        nameservices-config-file        "/etc/nsswitch.dns"
        nameservices                    files
        svcs-enable                     "svc:/network/smtp:sendmail"
        svcs-disable                    "svc:/network/smtp:sendmail"
when I enable the loc, the sendmail services is online:
bash-3.2# nwamadm enable loc1
Enabling loc 'loc1'
bash-3.2# 
bash-3.2# 
bash-3.2# 
bash-3.2# nwamadm list
TYPE         PROFILE        STATE          
ncp          Automatic      online         
 ncu:phys    bge0           online         
 ncu:ip      bge0           online         
 ncu:phys    bge1           online         
 ncu:ip      bge1           offline*       
loc          Automatic      offline        
loc          NoNet          offline        
loc          Legacy         offline        
loc          loc1           online         
bash-3.2# 
bash-3.2# 
bash-3.2# 
bash-3.2# svcs sendmail
STATE          STIME    FMRI
online         14:23:18 svc:/network/smtp:sendmail
bash-3.2# 

I think we can not set the same value to these two property.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to