http://defect.opensolaris.org/bz/show_bug.cgi?id=10079
Summary: nwamcfg doesn't work well with libumem, get weird
result.
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwam1-build:2009-07-13
Severity: normal
Priority: P3
Component: CLI
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: lizhong.li at sun.com
QAContact: nwam-dev at opensolaris.org
I tried to do some memory leaks testing for nwamd, but it seems nwamcfg doesn't
work well with libumem, the fact is when the libumem is applied, then nwamcfg
will report error, while if the libumem is not used, then the result is fine.
unknown:nwam# LD_PRELOAD=/usr/lib/libumem.so
unknown:nwam# export LD_PRELOAD
unknown:nwam# UMEM_DEBUG=default
unknown:nwam# export UMEM_DEBUG
unknown:nwam# /usr/sbin/nwamcfg -f
/var/tmp/nwam_tmp/nwamadm_set_loc_Automatic.s
On line 5 of /var/tmp/nwam_tmp/nwamadm_set_loc_Automatic.s:
Set error: 'nis-nameservice-configsrc' cannot be set
unknown:nwam#
unknown:nwam# unset UMEM_DEBUG
unknown:nwam# /usr/sbin/nwamcfg -f
/var/tmp/nwam_tmp/nwamadm_set_loc_Automatic.s
Configuration read.
unknown:nwam# cat /var/tmp/nwam_tmp/nwamadm_set_loc_Automatic.s
select loc "Automatic"
set activation-mode=system
set nameservices=nis
set nameservices-config-file="/etc/nsswitch.nis"
set nis-nameservice-configsrc=dhcp
end
--
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.