http://defect.opensolaris.org/bz/show_bug.cgi?id=11187
Summary: disabling a condition location got weird warning.
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwam1-build:2009-09-02
Severity: major
Priority: P3
Component: CLI
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: lizhong.li at sun.com
QAContact: nwam-dev at opensolaris.org
--- Comment #0 from Lizhong Li <lizhong.li at sun.com> 2009-09-04 07:30:14 UTC
---
Created an attachment (id=2579)
nwamd log 0902
bash-3.2# nwamadm list
ncp Automatic online
ncu:ip bge1 offline
ncu:phys bge1 offline
ncu:ip bge3 online
ncu:phys bge3 online
ncu:ip bge2 offline*
ncu:phys bge2 online
ncu:ip bge0 offline*
ncu:phys bge0 online
loc loc1 offline
loc loc0 online
loc Legacy offline
loc NoNet offline
loc Automatic offline
enm enm1 disabled
enm enm3 online
enm enm2 maintenance
bash-3.2# nwamadm disable -p loc loc0
nwamadm: Could not enable loc 'loc0': entity is in incorrect state
bash-3.2# cat /etc/nwam/loc.conf
Automatic
activation-mode=uint64,1;nameservices=uint64,0;nameservices-config-file=string,/etc/nsswitch.dns;dns-nameservice-configsrc=uint64,1;enabled=boolean,false;
NoNet
activation-mode=uint64,1;nameservices=uint64,1;nameservices-config-file=string,/etc/nsswitch.files;ipfilter-config-file=string,/etc/nwam/loc/NoNet/ipf.conf;ipfilter-v6-config-file=string,/etc/nwam/loc/NoNet/ipf6.conf;enabled=boolean,false;
Legacy
enabled=boolean,false;activation-mode=uint64,1;nameservices=uint64,0;nameservices-config-file=string,/etc/nwam/loc/Legacy/nsswitch.conf;dns-nameservice-configsrc=uint64,0;dns-nameservice-domain=string,test.sun.com;dns-nameservice-servers=string,192.168.1.6;
loc0
nameservices=uint64,0;dns-nameservice-configsrc=uint64,1;nameservices-config-file=string,/etc/nsswitch.dns;enabled=boolean,false;activation-mode=uint64,2;conditions=string,enm
enm1 is active,enm enm3 is active;
loc1
nameservices=uint64,0;dns-nameservice-configsrc=uint64,1;nameservices-config-file=string,/etc/nsswitch.dns;enabled=boolean,false;activation-mode=uint64,3;conditions=string,enm
enm1 is active,enm enm3 is active;
I guess this is because that the loc0's condition is available, so nwamd tried
to disable, then enable it, but the warning is difficult to understand.
--
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.