[bug-notifications] [spamassassin 0004406]: Wrong directory for rules is tested in /etc/init.d/cswspamd. Thus, SA does not start.

Mantis Bug Tracker noreply at opencsw.org
Thu Apr 22 15:26:40 CEST 2010


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4406 
====================================================================== 
Reported By:                17martin
Assigned To:                
====================================================================== 
Project:                    spamassassin
Issue ID:                   4406
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-04-22 15:09 CEST
Last Modified:              2010-04-22 15:26 CEST
====================================================================== 
Summary:                    Wrong directory for rules is tested in
/etc/init.d/cswspamd. Thus, SA does not start.
Description: 
In the /etc/init.d/cswspamd script there is a test, if the rules have been
downloaded (by using sa-update) befor starting Spamassassin. The directory
where the rules are saved changes with every SA version.
In the current cswspamd it is tested if /var/opt/csw/spamassassin/3.003000
exists (line 24). But this must be /var/opt/csw/spamassassin/3.003001 for
Spamassassin 3.3.1
When update from 3.3.0 this is no problem until you clean up the old
rule-directory. When you have never installed Spamassassin 3.3.0 the
directory does not exists and cswspamd will not start Spamassassin. Even if
you have run sa-update.

====================================================================== 

---------------------------------------------------------------------- 
 (0007896) 17martin (reporter) - 2010-04-22 15:26
 http://www.opencsw.org/mantis/view.php?id=4406#c7896 
---------------------------------------------------------------------- 
Maybe it would also be a good idea to delete old rule-dircetories when
updating SA.



More information about the bug-notifications mailing list