Closed gus-asf closed 5 months ago
freshclam
is not a scanning service. ClamOnAcc is the on-access (real-time) scanning service) and relies on clamd
(clamav-daemon) which you do not have installed.
freshclam
is a service to occasionally download updates to the clamav signatures. The freshclam
service should have no affect on using gpg
. This seems like a coincidence to me.
Hmm seems you are right the error seems to crop up ~50-60% of the time and of course initially, I got (un)lucky and failed like 4 times in a row before killing the freshclam process and it suddenly working, sorry for the noise.
Describe the bug
While preparing the Apache Solr 9.6 release I ran into an issue. Attempting to build a docker image based on the RC with the below command (which will cease to work once the RC is completed), The image would not build and complained that it could not connect to the gpg agent.
Killing freshclam resolved the problem
How to reproduce the problem
ps shows freshclam running
Attempt to build docker image for Solr
This failed with
That appears to correspond to this line:
However for completeness the full output was:
After killing clamav as shown below the docker build succeeded:
Replace this text with the output from the ClamAV command: clamconf -n
However
I got lucky and found this quite quickly due to a stack overflow that mentioned windows defender and so I thought to try killing clamav, but it sure could have been a stumper