system/6252: pflogd should remove pid file when get killed

View: New views
1 Messages — Rating Filter:   Alert me  

system/6252: pflogd should remove pid file when get killed

by openbsd-bugs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>Number:         6252
>Category:       system
>Synopsis:       pflogd should remove pid file when get killed
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Mon Nov 02 10:50:01 GMT 2009
>Closed-Date:
>Last-Modified:
>Originator:    
>Release:        
>Organization:
>Environment:
        System      : OpenBSD 4.6
        Details     : OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
                         deraadt@...:/usr/src/sys/arch/i386/compile
/GENERIC

        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
        When pflogd gets killed with SIGTERM it should remove the pid file
        /var/run/pflogd.pid like other processes do (e.g. ssh, cron, syslog)
>How-To-Repeat:
        # kill -SIGTERM $(cat /var/run/pflogd.pid)
        # ls -la /var/run/pflogd.pid
        -rw-r--r--  1 root  wheel  6 Nov  2 05:37 /var/run/pflogd.pid


>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: