On 04/10/2010 08:09 PM, Jake Vickers wrote:
On 04/10/2010 10:04 AM, Catalin Leanca wrote:
I got the following error:

[r...@mx log]# rpm -Uhv /usr/src/redhat/RPMS/i386/clamav-toaster-0.96.0-1.3.34.i386.rpm Preparing... ########################################### [100%] 1:clamav-toaster ########################################### [100%] error: %post(clamav-toaster-0.96.0-1.3.34.i386) scriptlet failed, exit status 1

I think this is caused by the broken freshclam.conf that's in the package.
Solution: Comment line 8 and uncomment line 17.
Also modify line 17 to UpdateLogFile /var/log/clamav/freshclam.log


Worked fine here. Care to share some details? OS? New install/upgrade? Switches used when building? Did you modify the spec file?
Otherwise you did not give me anything to review or research.

Shooting in the dark (and making some guesses), I was able to reproduce the issue. From initial analysis, it seems the routine that does not start freshclam if it's in a sandbox for qtp-newmodel is causing the post script to fail. You can probably safely ignore this for now - I will work on a fix tomorrow and get a new release out in the next day or two.


---------------------------------------------------------------------------------
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