You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/03/10 23:08:36 UTC

[Bug 4655] [patch] init.d spamassassin restart kills wrong process and fails

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4655


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From felicity@apache.org  2006-03-10 22:08 -------
I was just noticing that this doesn't quite work.

SPAMD_PID=/var/run/spamassassin/spamd.pid

but nothing ever makes /var/run/spamassassin, so upon starting:

Mar 10 17:00:46 eclectic spamd[23924]: spamd: server started on port 783/tcp (running version 3.1.1) 
Mar 10 17:00:46 eclectic spamd[23924]: spamd: cannot write to PID file: No such file or directory 
Mar 10 17:00:46 eclectic spamd[23924]: spamd: server pid: 23924 

also, the pid file is never cleaned up.  in stop:

                rm -f /var/run/spamd.pid

which isn't the right path.

anyway, I'll put up a patch in a minute.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.