Dave Shield wrote:
--- testing/eval_tools.sh.org   Wed Apr  7 05:13:26 2004
+++ testing/eval_tools.sh       Wed Jul  7 20:41:10 2004
@@ -476,9 +476,9 @@
        if [ $? = 0 ] ; then
            SNMP_SAVE_TMPDIR=yes
            if [ "x$OSTYPE" = "xmsys" ]; then
-              COMMAND="kill -9 $pid"
-            else
              COMMAND="kill.exe $pid"
+            else
+              COMMAND="kill -9 $pid"
            fi
            echo $COMMAND "($pfile)" >> $SNMP_TMPDIR/invoked
            $COMMAND > /dev/null 2>&1

Argghhhh!!!!! Is it *really*, *really* necessary to use "kill -9" here?

This particular incantation is the spawn of satan, and should
not be used without written authority (in triplicate) from the
head of state and at least two senior religions leaders.

It looks like the kill -9 will only be used if the process can not be stopped using a kill -TERM by the STOPAGENT and STOPTRAPD functions.


This means that the Solaris V880 system is not able to kill the agent or trapd using kill -TERM.

BTW, the kill -9 is not new to eval_tools.sh.  Only the MSYS checking is.

Alex


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to