Using a 5.2.pre2- win32 binary..
1. Un-install does not remove all of the files.
These files remain:
/c/usr/share/snmp/mib2c.access_functions.conf
/c/usr/share/snmp/mib2c.array-user.conf
/c/usr/share/snmp/mib2c.check_values.conf
/c/usr/share/snmp/mib2c.check_values_local.conf
/c/usr/share/snmp/mib2c.column_defines.conf
/c/usr/share/snmp/mib2c.column_enums.conf
/c/usr/share/snmp/mib2c.conf
/c/usr/share/snmp/mib2c.create-dataset.conf
/c/usr/share/snmp/mib2c.int_watch.conf
/c/usr/share/snmp/mib2c.iterate.conf
/c/usr/share/snmp/mib2c.iterate_access.conf
/c/usr/share/snmp/mib2c.notify.conf
/c/usr/share/snmp/mib2c.old-api.conf
/c/usr/share/snmp/mib2c.scalar.conf
/c/usr/share/snmp/mibs/SNMP-USM-AES-MIB.txt
NOTE: These files also remain. As we had discussed,
these files are OK to remain.
/c/usr/etc/snmp/snmp.conf
/c/usr/etc/snmp/snmpd.conf
/c/usr/log/snmpd.log
2. Un-install does not remove service information from registry
CHECK = Invoke REGEDIT and search from the top for snmpd.log
Install then CHECK . should not see snmpd.log
Register agent service then CHECK. should see snmpd.log
Un-install then CHECK. should not see snmpd.log
These statements I believe should hold true
When user invokes Register service, that action should always succeed
When user invokes Unregister service, that action should always succeed
3. If I install, register service, un-install,
then install, attempt to register service will fail,
with indication that the service is already registered
"Can't create service Net-SNMP Agent.
The specified service already exists.
"
I must manually unregister the service, in this case.
I believe that the correct fix is to
invoke the unregister service function when this occurs,
and then retry the register service function one more time.
I think something like the change I've described
should be made in winservice.c.
I don't trust return codes in .BAT files.
They have been proven unreliable.
What do you think of this ?
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders