| Summary: | clamav's freshclam fails to update | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Eric Olinger <EvvL> |
| Component: | Current packages | Assignee: | Antivirus Team <antivirus> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | andy, lordvan, prez |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 30493 | ||
| Bug Blocks: | |||
|
Description
Eric Olinger
2003-06-08 14:49:18 UTC
This has been resolved with the advent of 0.60 - which needs testing before it is unmasked. Preston, while you are at it, could please move /usr/share/clamav to /var/something/clamav??? My /usr ir RO and freshclam fails. Thank you, Norberto Clamav-0.60 seems to have one or two issues: -------------------------------------------- 1) clamd when started drops from the root user to clamav and then tries to write the pid file to /var/run/clamd.pid. This is easily remedied by creating a /var/run/clamav directory and changing the perms so that clamav can write to it. The /etc/init.d/clamd stop() function needs to be changed to reflect this move. The /etc/clamav.conf file needs to be changed to reflect this move too. 2) Shouldn't the virus dbs be kept in /usr/lib/clamav as opposed to /usr/share/clamav? The permissions on /usr/lib/clamav are not correct. Freshclam drop to a compile time specified user (clamav) when it runs. This user needs permission to write to this directory in order for it to download antivirus updates. Any progress on this one? The host used by freshclam (clamav.linux-sxs.org) is out of date and it seems freshclam (0.60) doesn't switch to other mirrors... In connection with Norberto Bensa's comment: The new virus db URL is: http://clamav.sourceforge.net/database/ > Shouldn't the virus dbs be kept in /usr/lib/clamav as opposed to /usr/share/clamav?
it should be /var/lib/clamav
Update to 0.65 should help. I also changed the location of the virus-db to /var to be compliant to the FHS. |