Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57723 - clamav - freshclam doesn't start if FRESHCLAM_LOG is not defined in /etc/conf.d/clamd
Summary: clamav - freshclam doesn't start if FRESHCLAM_LOG is not defined in /etc/conf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 06:32 UTC by Mathias Gug
Modified: 2004-07-30 18:42 UTC (History)
1 user (show)

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


Attachments
patch to clamd.rc to fix FRESHCLAM_LOG handling. (clamd.rc.patch,808 bytes, patch)
2004-07-20 06:34 UTC, Mathias Gug
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Gug 2004-07-20 06:32:45 UTC
if FRESHCLAM_LOG is not specified in /etc/conf.d/clamd, freshclam fails to start.

Reproducible: Always
Steps to Reproduce:
1. Comment FRESHCLAM_LOG in /etc/conf.d/clamd.
2. Restart clamd.
3. freshclam is not able to start




The problem comes from the clamd init script : freshclam is always started with
-l option to specify a log file. Even if there isn't any log file defined.
Comment 1 Mathias Gug 2004-07-20 06:34:21 UTC
Created attachment 35811 [details, diff]
patch to clamd.rc to fix FRESHCLAM_LOG handling.

This patch redefines correctly FRESHCLAM_OPTS to include FRESHCLAM_LOG if it's
defined.
Comment 2 Mathias Gug 2004-07-20 06:39:11 UTC
Related information : bug 43666
Comment 3 Andrew Ross (RETIRED) gentoo-dev 2004-07-29 04:47:37 UTC
We are about to replace our current email virus scanner (McAfee) with ClamAV. Since we want to use syslog for logging, we have a particular interest in this bug.
Comment 4 Thomas Raschbacher gentoo-dev 2004-07-30 18:42:56 UTC
fixed that one today. it's in portage tree by now i think