Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 13:41:25 GMT
From:      Yuri Arabadji <yuri@deepunix.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/103811: snmpd is -KILLed instead of gracefully TERMinated
Message-ID:  <200609291341.k8TDfPtk024868@www.freebsd.org>
Resent-Message-ID: <200609291350.k8TDoNo9088250@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103811
>Category:       ports
>Synopsis:       snmpd is -KILLed instead of gracefully TERMinated
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 29 13:50:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yuri Arabadji
>Release:        5.4-RELEASE-p8
>Organization:
>Environment:
FreeBSD xxx.xxx 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #2: Thu Nov 10 02:30:15 GMT 2005     root@xxx.xxx:/usr/src/sys/i386/compile/xx.smp  i386
>Description:
/usr/local/etc/rc.d/snmpd.sh script instead of terminating snmpd by sending SIGTERM signal, sends SIGKILL. That's very bad, because in such case snmpd doesn't write its information to persistent storage file. 
>How-To-Repeat:
/usr/local/etc/rc.d/snmpd.sh stop
or
/usr/local/etc/rc.d/snmpd.sh restart
>Fix:
Remove or comment out the following line in /usr/local/etc/rc.d/snmpd.sh:
sig_stop=KILL
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609291341.k8TDfPtk024868>