On 04/17/2011 07:32 AM, Jake Vickers wrote:
On 04/17/2011 10:13 AM, Eric Shubert wrote:
On 04/17/2011 07:08 AM, Jake Vickers wrote:
On 04/14/2011 03:05 PM, Eric Shubert wrote:
I've come up with a fix:

1) rebuild/reinstall simscan (using qtp-newmodel)
2) service qmail cdb

Both steps appear to be needed to fix the problem.

So it appears that 2 things should be done to keep this from happening
in the future:

1) simscanmk (or qmailctl cdb) should be run as part of the %post
process in the simscan spec file.

What do you think, Jake?

2) whenever clamav is updated (and probably spamassassin too), simscan
should be rebuilt and reinstalled as well. I can take care of updating
qtp-newmodel to do this.


Does simscan require a recompile, or just simscanmk (-g)? I believe this
is on the wiki somewhere.


---------------------------------------------------------------------------------


Simply doing a "service qmail cdb" (which invokes simscanmk [-g])
didn't fix the problem. I had to rebuild and reinstall the binary rpm,
then do simscanmk (cdb).



Is this for all clamav updates, or just for pre-0.96.1 updates to a
current update? Does t require the recompile every time, or just when
going from pre-0.96.1 to anything newer one time only?

---------------------------------------------------------------------------------

Good questions that hadn't occurred to me.

After a little more testing, I've confirmed that:
.) cdb must be rebuilt after reinstalling simscan. Otherwise it stays broken. This was on a system running clamav-0.96.5. .) after a clamav update from 0.96.5 to 0.97.0, it was broken again, and a simply cdb fixed it this time w/out rebuilding/reinstalling simscan.

My thinking from this is that simscanmk should be run after any clamav or simscan (or spamassassin) upgrade. In addition, the simscan package should be rebuilt/reinstalled after clamav is upgraded from pre-0.96 to post-0.95.

I haven't dug into the code to see what actually causes the problem, since simscan will be going away in v2. ;)

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to