Subject: pkg/31932: Can't stop postgrey
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <martti.kuparinen@iki.fi>
List: pkgsrc-bugs
Date: 10/27/2005 18:55:00
>Number:         31932
>Category:       pkg
>Synopsis:       Can't stop postgrey
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 27 18:55:00 +0000 2005
>Originator:     Martti Kuparinen
>Release:        NetBSD 3.0_BETA
>Organization:
>Environment:
System: NetBSD p130 3.0_BETA NetBSD 3.0_BETA (P130) #0: Tue Oct 18 07:16:14 EEST 2005 root@p130:/usr/src/sys/arch/i386/compile/P130 i386
Architecture: i386
Machine: i386
>Description:

It's impossible to stop postgrey like all other services. I haven't looked
into the details why this fails, I'll let the MAINTAINER to do it :-)

>How-To-Repeat:

# pkg_info | grep postgrey
postgrey-1.21       Postfix Greylist Policy Server

# /usr/pkg/etc/rc.d/postgrey stop
postgrey not running? (check /var/run/postgrey.pid).
# cat /var/run/postgrey.pid
476
# ps axw | grep grey
  476 ?     IWs   0:41.25 perl: /usr/pkg/sbin/postgrey -i 2525 -d --pidfile=/var/run/postgrey.pid (perl)
# kill 476
# kill 476
-bash: kill: (476) - No such process

>Fix: