ports/103811: snmpd is -KILLed instead of gracefully TERMinated

Yuri Arabadji yuri at deepunix.net
Fri Sep 29 13:51:18 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list