https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6755

             Bug #: 6755
           Summary: sa-update doesn't throw an error when run with wrong
                    SA library version
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sa-update
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


I copied spamassassin and sa-update scripts from a machine with 3.3.1 to a
machine with 3.4.0 / trunk.  

spamassassin was good:
$ ./spamassassin 
spamassassin: spamassassin script is v3.003001, but using modules v3.004000

sa-update was bad:
$ ./sa-update 
$

It throws no warning.  Debug output includes:  
Feb  9 14:38:43.748 [24437] dbg: generic: SpamAssassin version
3.4.0-rsvnunknown
Says 3.4.0 when I know the sa-update script I'm running is from 3.3.1.  

I don't know if this would actually cause any problems, but it would be nice if
sa-update handled it the way the spamassassin script does.  Would probably be
good to check all the executables:

/usr/sbin/spamd
/usr/bin/sa-compile
/usr/bin/sa-learn
/usr/bin/sa-awl
/usr/bin/spamassassin
/usr/bin/sa-check_spamd
/usr/bin/sa-update

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to