Bug 3061 - "sa-learn --norebuild" won't work w/out DBs already created
Summary: "sa-learn --norebuild" won't work w/out DBs already created
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Learner (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P3 normal
Target Milestone: 3.0.0
Assignee: Theo Van Dinter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 14:59 UTC by Theo Van Dinter
Modified: 2004-02-18 07:04 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Theo Van Dinter 2004-02-18 14:59:08 UTC
--norebuild has sa-learn learn to the Bayes journal.  this causes the learn() function to try to tie the 
Bayes DB in r/o mode.  this causes a fatal error if there is no DB already in existence because the r/o 
version will not create a DB, so the tie fails, so the learn() fails, etc...

and it turns out that the debug output (-D) doesn't tell you any of this.
Comment 1 Theo Van Dinter 2004-02-18 15:28:02 UTC
taking the bug.
Comment 2 Theo Van Dinter 2004-02-18 16:04:41 UTC
fixed in HEAD