http://defect.opensolaris.org/bz/show_bug.cgi?id=10831
amaguire <alan.maguire at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CAUSEKNOWN
CC| |alan.maguire at sun.com
AssignedTo|nwam-dev at opensolaris.org |alan.maguire at sun.com
--- Comment #1 from amaguire <alan.maguire at sun.com> 2009-08-21 13:40:42 UTC
---
(In reply to comment #0)
> bash-3.2# nwamcfg list enm enm1
> ENM:enm1
> activation-mode manual
> start "/tmp/1"
> stop "/tmp/2"
> enabled false
> bash-3.2# ls /tmp/1
> /tmp/1
> bash-3.2# ls /tmp/2
> /tmp/2: No such file or directory
>
> bash-3.2# nwamadm enable enm1
> Enabling enm 'enm1'
> bash-3.2# nwamadm list -p enm
> TYPE PROFILE STATE
> enm enm1 online
>
> bash-3.2# nwamadm disable enm1
> Disabling enm 'enm1'
> bash-3.2# Aug 21 18:02:21 firering nwamd[100865]: 158:
> nwamd_enm_activate_deactivate_thread: execution of '/tmp/2' failed for ENM
> enm1
> Aug 21 18:02:21 firering nwamd[100865]: 159:
> nwamd_enm_activate_deactivate_thread: execution of '/tmp/2' failed for ENM
> enm1
>
> bash-3.2# nwamadm list -p enm
> TYPE PROFILE STATE
> enm enm1 disabled
What's happening here is the ENM check that is scheduled to run after a disable
event is checking the value of enabled, noting that it is false and explicitly
setting the state to disabled. Instead we need to handle the maintenance case.
--
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.