Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58446 - clamav-0.70: startup script reports error if virus databases are up to date
Summary: clamav-0.70: startup script reports error if virus databases are up to date
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 10:16 UTC by Carsten Milkau
Modified: 2005-05-14 14:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
startup script fix (clamd.patch,461 bytes, patch)
2004-07-26 10:18 UTC, Carsten Milkau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Milkau 2004-07-26 10:16:00 UTC
freshclam returns exit code 1 if the virus databases are already up to date. The lines
               start-stop-daemon --start --quiet \
                 --exec /usr/bin/freshclam -- ${FRESHCLAM_OPTS} -l ${FRESHCLAM_LOG}
               eend $? "Failed to start freshclam"

thus cause a misbehavior in that case, making eend and runscript believe there was an error starting frashclam.  I will attach a (proposed) patch that solves this.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Carsten Milkau 2004-07-26 10:18:31 UTC
Created attachment 36208 [details, diff]
startup script fix
Comment 2 Thomas Raschbacher gentoo-dev 2004-07-30 18:41:58 UTC
please try a newer version
Comment 3 Carsten Milkau 2004-08-03 14:00:19 UTC
I upgradet to version 0.75. It contains a bugfix related to freshclam logging, but the exit code problem persists.
Comment 4 Thomas Raschbacher gentoo-dev 2004-10-08 12:24:57 UTC
please check if 0.75.1 and/or 0.80_rc3 still do it .. if so then i'll add the patch ..
Comment 5 Carsten Milkau 2004-10-10 12:23:21 UTC
0.75.1 still shows this bug
Comment 6 Carsten Milkau 2004-12-07 14:26:33 UTC
(Forgot to reopen)
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2005-05-14 11:23:54 UTC
How about 0.8x versions ?
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2005-05-14 14:38:35 UTC
This will be fixed in clamav-0.85-r1. Thanks a lot!