Subject: pkg/18171: pkgsrc/mail/spamassassin rc.d script broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <urban@boquist.net>
List: netbsd-bugs
Date: 09/05/2002 10:52:29
>Number:         18171
>Category:       pkg
>Synopsis:       the spamassassin rc.d script is missing -d flag
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 05 01:53:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Urban Boquist
>Release:        NetBSD 1.6G
>Organization:
Carlstedt Research & Technology AB, Sweden
>Environment:
	
	
System: NetBSD iller 1.6G NetBSD 1.6G (ILLER-$Revision: 1.47 $) #0: Tue Sep 3 01:41:00 CEST 2002 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386
Architecture: i386
Machine: i386
>Description:
	The SpamAssassin daemon (spamd) must be started with the -d
	flag to really become a daemon, but that flag is missing in
	the provided rc.d script.
>How-To-Repeat:
	/etc/rc.d/spamd start
>Fix:
Index: files/spamd.sh
===================================================================
RCS file: /anoncvs/pkgsrc/mail/spamassassin/files/spamd.sh,v
retrieving revision 1.2
diff -u -r1.2 spamd.sh
--- files/spamd.sh      2002/08/30 11:17:10     1.2
+++ files/spamd.sh      2002/09/05 08:47:36
@@ -10,7 +10,7 @@
 name="spamd"                      
 rcvar=$name         
 command="/usr/pkg/bin/${name}"
-command_args="-r /var/run/${name}.pid"
+command_args="-d -r /var/run/${name}.pid"
 command_interpreter="@PREFIX@/bin/perl"
 pidfile="/var/run/${name}.pid"
>Release-Note:
>Audit-Trail:
>Unformatted: