[Bug 6228] New: sa-learn --backup is broken

View: New views
10 Messages — Rating Filter:   Alert me  

[Bug 6228] New: sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

           Summary: sa-learn --backup is broken
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: spamassassin
        AssignedTo: dev@...
        ReportedBy: wtogami@...


spamassassin-3.3.0 svn816416
perl-5.8.8-27.el5
perl-5.10.0-82.fc12

# sa-learn --backup
Can't call method "backup_database" on an undefined value at /usr/bin/sa-learn
line 295.

https://bugzilla.redhat.com/show_bug.cgi?id=530966
Originally reported here.

How serious is this?

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--- Comment #1 from Michael Parker <parkerm@...> 2009-10-27 18:03:49 UTC ---
What does their bayes_store_module config say?

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--- Comment #2 from Michael Parker <parkerm@...> 2009-10-27 18:07:38 UTC ---
Better question, do they have:

loadplugin Mail::SpamAssassin::Plugin::Bayes

in one of their .pre files?

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--- Comment #3 from Warren Togami <wtogami@...> 2009-10-27 18:12:51 UTC ---
Using default v320.pre:
loadplugin Mail::SpamAssassin::Plugin::Bayes

# file ~/.spamassassin/bayes_toks
/home/warren/.spamassassin/bayes_toks: Berkeley DB (Hash, version 8, native
byte-order)

Same issue on RHEL5 and Fedora 12.  sa-learn --ham and --spam work fine, but
not --backup.

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--- Comment #4 from Michael Parker <parkerm@...> 2009-10-27 18:33:34 UTC ---
can you run:

sa-learn --debug bayes --backup

and include the output in this bug please.

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--- Comment #5 from Warren Togami <wtogami@...> 2009-10-27 18:35:43 UTC ---
# sa-learn --debug bayes --backup
[10176] dbg: bayes: tie-ing to DB file R/O
/home/warren/.spamassassin/bayes_toks
[10176] dbg: bayes: tie-ing to DB file R/O
/home/warren/.spamassassin/bayes_seen
[10176] dbg: bayes: found bayes db version 3
[10176] dbg: bayes: DB journal sync: last sync: 1256692056
Can't call method "backup_database" on an undefined value at /usr/bin/sa-learn
line 295.

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--- Comment #6 from Michael Parker <parkerm@...> 2009-10-27 19:02:01 UTC ---
Certainly is perplexing.

Can you look in the /usr/local/lib/perl5 tree and find the
SpamAssassin/BayesStore directory and see if a) the files exists and b) their
permissions look sane.

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--- Comment #7 from Warren Togami <wtogami@...> 2009-10-27 19:23:01 UTC ---
Fedora 12:
# ls -ld /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/BayesStore/
drwxr-xr-x. 2 root root 4096 2009-09-24 23:32
/usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/BayesStore/
# ls -l /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/BayesStore/
total 224
-r--r--r--. 1 root root 42508 2009-08-31 19:25 BDB.pm
-r--r--r--. 1 root root 59815 2009-08-31 19:25 DBM.pm
-r--r--r--. 1 root root 27341 2009-08-31 19:25 MySQL.pm
-r--r--r--. 1 root root 26789 2009-08-31 19:25 PgSQL.pm
-r--r--r--. 1 root root  1933 2009-08-31 19:25 SDBM.pm
-r--r--r--. 1 root root 59178 2009-08-31 19:25 SQL.pm

RHEL5:
# ls -ld /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/BayesStore/
drwxr-xr-x 2 root root 4096 Sep 25 00:51
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/BayesStore/
# ls -l /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/BayesStore
total 256
-r--r--r-- 1 root root 42508 Aug 31 19:25 BDB.pm
-r--r--r-- 1 root root 59815 Aug 31 19:25 DBM.pm
-r--r--r-- 1 root root 27341 Aug 31 19:25 MySQL.pm
-r--r--r-- 1 root root 26789 Aug 31 19:25 PgSQL.pm
-r--r--r-- 1 root root  1933 Aug 31 19:25 SDBM.pm
-r--r--r-- 1 root root 59178 Aug 31 19:25 SQL.pm

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Warren Togami <wtogami@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P1

--- Comment #8 from Warren Togami <wtogami@...> 2009-12-11 10:08:28 UTC ---
Proposing as 3.3.0 blocker.

Any ideas?

--
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 6228] sa-learn --backup is broken

by Bugzilla from bugzilla-daemon@bugzilla.spamassassin.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

--- Comment #9 from Mark Martinec <Mark.Martinec@...> 2009-12-11 11:59:09 UTC ---
(In reply to comment #8)
> Proposing as 3.3.0 blocker.
>
> Any ideas?

Just a guess: it may have become broken with pluginization
of Bayes.pm (Mail/SpamAssassin/Bayes.pm ->
   Mail/SpamAssassin/Bayes.pm + Mail/SpamAssassin/Plugin/Bayes.pm )

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