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 2012/02/09 20:43:45 UTC

[Bug 6755] New: sa-update doesn't throw an error when run with wrong SA library version

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: dev@spamassassin.apache.org
        ReportedBy: Darxus@ChaosReigns.com
    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.

[Bug 6755] sa-update doesn't throw an error when run with wrong SA library version

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6755

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kmcgrail@pccc.com
         Resolution|                            |WONTFIX

--- Comment #1 from Kevin A. McGrail <km...@pccc.com> 2012-02-10 01:54:40 UTC ---
I really can't consider it a bug that you hand copied and mismatched the
executables and supporting modules.

If you submit a patch or convince someone to do so, I'll happily add it but not
going to waste time on this issue, sorry.

Regards,
KAM

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

[Bug 6755] sa-update doesn't throw an error when run with wrong SA library version

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6755

--- Comment #3 from Kevin A. McGrail <km...@pccc.com> 2012-02-10 17:25:21 UTC ---
(In reply to comment #2)
> Well, it came up in IRC.  The spamassassin package maintainer for Magei Linux
> was trying to figure out why sa-update, which he knew he installed from a 3.3.2
> tarball, was claiming it was from spamassassin version 3.4.0.  I did what I did
> to clearly replicate the problem.

Feel free to reopen and submit patches but it just sounds like an
administrative error at the core of the issue.

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

[Bug 6755] sa-update doesn't throw an error when run with wrong SA library version

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6755

Darxus <Da...@ChaosReigns.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Darxus@ChaosReigns.com

--- Comment #2 from Darxus <Da...@ChaosReigns.com> 2012-02-10 02:48:42 UTC ---
Well, it came up in IRC.  The spamassassin package maintainer for Magei Linux
was trying to figure out why sa-update, which he knew he installed from a 3.3.2
tarball, was claiming it was from spamassassin version 3.4.0.  I did what I did
to clearly replicate the problem.

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