ports/114014: mail/p5-mail-spamassassin : spamd not showing process title when using option --virtual-config-dir
Michael Scheidell
scheidell at secnap.net
Fri Jun 29 21:10:19 UTC 2007
The following reply was made to PR ports/114014; it has been noted by GNATS.
From: Michael Scheidell <scheidell at secnap.net>
To: Ludger Bolmerg <lbolmerg at web.de>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/114014: mail/p5-mail-spamassassin : spamd not showing process
title when using option --virtual-config-dir
Date: Fri, 29 Jun 2007 17:06:29 -0400
Ludger Bolmerg wrote:
> Sorry for the incomplete information.
>
PR maintainer: please close PR as 'not port problem'. it is either a
spamassassin problem, perl problem or OS problem.
> #1: What is environment? (uname -a)
>
> FreeBSD netserv2.munichre.com 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5
> #1: Mon Aug 28 11:17:41 CEST 2006
> gr172 at netserv2.dmz.munichre.com:/usr/obj/usr/src/sys/MYKERNEL i386
>
> #2: what EXACTLY were the spamd_flags and options
>
> with the following options:
> : ${spamd_flags="-x --max-children=20 --min-children=5 \
> --min-spare=2 --max-spare=10 --listen-ip=127.0.0.1 \
> -u spamd \
> -H /var/spool/spamd \
> --allowed-ips=193.103.202.0/24,127.0.0.1 \
> --virtual-config-dir=/var/spamassassin/user_prefs/%u "}
Try starting by hand with:
spamd -x --listen-ip=127.0.0.1 -u spamd -H /var/spool/spamd \
--allowed-ips=192.103.202.0/24,127.0.0.1 \
--virtual-config-dir=/var/spamassassin/user_prefs/%u \
-d -r /var/run/spamd/spamd.pid
I get this:
ps -auxww | grep spamd
root 30621 0.0 5.7 61808 58968 ?? Ss 4:22PM 0:02.20
/usr/local/bin/spamd -x --listen-ip=127.0.0.1 -u spamd -H
/var/spool/spamd --allowed-ips=192.103.202.0/24,127.0.0.1
--virtual-config-dir=/var/spamassassin/user_prefs/%u -d -r
/var/run/spamd/spamd.pid (perl5.8.8)
spamd 30636 0.0 5.7 61808 58968 ?? I 4:22PM 0:00.01 spamd
child (perl5.8.8)
spamd 30637 0.0 5.7 61808 58968 ?? I 4:22PM 0:00.01 spamd
child (perl5.8.8)
root 31023 0.0 0.1 1508 856 p1 LL+ 4:23PM 0:00.00 grep spamd
but, increase the command line length and it fails: (issue is not
sa-spamd.sh I did not use sa-spamd.sh)
spamd -x --max-children=20 --min-children=5 --min-spare=2 --max-spare=10
--listen-ip=127.0.0.1 -u spamd -H /var/spool/spamd
--allowed-ips=193.103.202.0/24,127.0.0.1
--virtual-config-dir=/var/spamassassin/user_prefs/%u -d -r
/var/run/spamd/spamd.pid
I get this:
ps -auxww | grep spamd
spamd 37082 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
child (perl5.8.8)
spamd 37083 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
child (perl5.8.8)
spamd 37084 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
child (perl5.8.8)
spamd 37085 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
child (perl5.8.8)
spamd 37086 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
child (perl5.8.8)
spamd 37087 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
child (perl5.8.8)
spamd 37088 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
child (perl5.8.8)
spamd 37089 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
child (perl5.8.8)
spamd 37090 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
child (perl5.8.8)
spamd 37091 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
child (perl5.8.8)
so, this is not a sa-spamd.sh problem,
I suspect that the length of the commandline is the issue, and that
adding in --virtual-config-dir cause the tip past the point of it working.
_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(tm).
For Information please see http://www.spammertrap.com
_________________________________________________________________________
More information about the freebsd-ports-bugs
mailing list