Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22381 - amavis upgrade installed clam antivirus even though I already had f-prot providing virtual/antivirus
Summary: amavis upgrade installed clam antivirus even though I already had f-prot prov...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-06 23:02 UTC by Charles Kelley
Modified: 2003-10-04 01:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Kelley 2003-06-06 23:02:47 UTC
I already had amavis & f-prot emerged.  On 5Jun03, after rsyncing that morning,
I did an emerge -u world.  This upgraded amavis, which also made clam antivirus
installed.  However, I already had f-prot installed, providing
virtual/antivirus.  Not a big deal, since I was able to uninstall clam
antivirus, and reconfigure it to f-prot, but it is a pain to have to do that
(especially since clam av didn't work right off the bat, and so I had to
reconfigure in order to have a working smtp antivirus filtering).

Reproducible: Always
Steps to Reproduce:
1. have amavis & f-prot installed
2.  emerge -u world
3.  now amavis is configured for clam av instead.

Actual Results:  
/usr/sbin/amavis was no longer configured to use f-prot, and was now configured
to use clamd.

Expected Results:  
I expected the ugpraded amavis to continue working with f-prot.
Comment 1 Preston A. Elder (RETIRED) gentoo-dev 2003-06-22 13:54:38 UTC
Have you re-merged f-prot since the virtual/antivirus came into effect (ie. since amavis 0.3.12 (non -pre8) was put into portage?

If not, the system would not have realised that the virtual has been satisfied (ie. there would not be an entry in /var/cache/edb/virtuals for virtual/antivirus).

Since it did not know the virtual was satisfied, the default to satisfy this virtual is clamav.  You should be able to resolve this problem by unmerging clamav and re-merging f-prot, and then re-merging amavis.

Please let me know how this works out.
Comment 2 Nick Hadaway 2003-08-13 20:13:37 UTC
I have added PROVIDE="virtual/antivirus" to the f-prot-4.1.2.ebuild
Comment 3 Markus Nigbur (RETIRED) gentoo-dev 2003-10-04 01:14:24 UTC
closing.