Am 11.09.2015 um 18:05 schrieb Ian Zimmerman:
On 2015-09-11 17:35 +0200, Reindl Harald wrote:Can I safely upgrade SA from 3.4.0 to 3.4.1 without changing any local configuration files, and without regenerating the Bayes database? (I use the default bdb Bayes store.)yes, but you need to run "sa-update" before restart to fetch the latest rules and hopefully have a distribution which restarts automatically after update the packageIsn't this a contradiction? If my distribution automatically restarts (which it does), how can I sneak in a sa-update run after the upgrade but before the restart?i hope you have a testing environment for production and so just make the "sa-update" there and rsync the rule-updates to the liveserverI appreciate you trying to help, but you don't really answer my question. Even if I could do what you suggest, the rsync would still take finite time - longer than the interval between the upgrade and the restart on the production system.
no, you don't need to change anything elsein most setups regenerate bayes would even be impossible because you don't have the autolearned messages to do so
if you have your whole corpus (like we do) you should rebuild the bayes again from the samples - especially if you are using "normalize_charset 1" and possibly to make "bayes_token_sources all" if you chose to use it also benefit from the older samples but there is no need to do so, the old bayes don't become useles
signature.asc
Description: OpenPGP digital signature