[suggest] Clamav should not require a specific clamav-db version

Federico Simoncelli federico.simoncelli at gmail.com
Thu Feb 28 09:23:32 CET 2008


On Wed, Feb 27, 2008 at 12:41 PM, Dag Wieers <dag at wieers.com> wrote:
> On Wed, 27 Feb 2008, Federico Simoncelli wrote:
>  > I'm using the clamav/clamd packages and I think clamav shouldn't
>  > strictly depend on the same clamav-db version.
>
>  You are completely correct in analysis and solution. Thanks for making it
>  simple to agree :-)
>

I also suggest to modify the spec file to restart the freshclam daemon
if needed. I added this fix a long time ago because sometimes
freshclam was hanging after a clamav/clamd update. I honestly don't
have any more information about this issue and how to reproduce it.

-%postun -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
+/sbin/service freshclam condrestart &>/dev/null || :

I'm sure it can be improved (check for a clamav package still installed).

-- 
Federico.


More information about the suggest mailing list