http://defect.opensolaris.org/bz/show_bug.cgi?id=9780
Summary: enm deactivate automatically
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: huawei.zhang at sun.com
QAContact: nwam-dev at opensolaris.org
Here I create an enm, set its fmri to a wrong value, then I list it with
"nwamadm", it show this enm is offline.
However, without any other operation, I saw the daemon output a message(see the
details below), and set its state to "maintenance"
I think the function "nwamd_enm_deactivate" should not call here, since I don't
run "nwamadm disable enm" command.
bash-3.2# nwamcfg "create enm enm1; set fmri=svc:/not-exist-fmri;"
bash-3.2# echo $?
0
bash-3.2# nwamadm list
TYPE PROFILE STATE
ncp Automatic online
ncu:phys bge0 online
ncu:ip bge0 offline
ncu:phys bge1 online
ncu:ip bge1 offline*
loc Automatic offline
loc NoNet online
loc Legacy offline
enm enm1 offline
bash-3.2# Jun 30 10:29:39 springmoon nwamd[103182]: 1: nwamd_enm_deactivate:
smf_disable_instance(svc:/not-exist-fmri) failed for ENM enm1: invalid argument
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 offline
ncu:phys bge1 online
ncu:ip bge1 offline*
loc Automatic offline
loc NoNet online
loc Legacy offline
enm enm1 maintenance
bash-3.2#
bash-3.2# uname -a
SunOS springmoon 5.11 nwam1-build.2009-06-26 i86pc i386 i86pc
--
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.