[Pkg-clamav-devel] Bug#777481: Bug#777481: clamav-daemon: /etc/clamav/freshclam.conf corruped after fresh installing clamav-daemon

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Feb 10 23:26:52 UTC 2015


retitle 777481 packagekit sets bogus http_proxy environment variable
reassign 777481 packagekit 1.0.1-2
thanks

Hi,

On 10.02.2015 19:48, Sebastian Andrzej Siewior wrote:
> The new image is at
> 	https://breakpoint.cc/bts_777481/Debian-Clamav-bug.zip

I could reproduce the problem with this VM image.
Installing clamav-freshclam with apt works fine, but installing it with 
apper results in the broken HTTPProxyServer line.

apper uses packagekit, so I tried it directly with that:
pkcon install clamav-freshclam
This also produced the broken configuration.

 From a brief look at the packagekit source it seems as if packagekit 
sets the http_proxy environment variable to a bogus value (I think -1).
This is then used by clamav-freshclam, which leads to the broken 
configuration.

If the http_proxy environment variable is set when starting pkcon, it is 
respected and ends up in freshclam's configuration file.

Obviously, packagekit should not set the http_proxy environment variable 
to a bogus value.
Therefore I'm reassigning this bug to packagekit.

Best regards,
Andreas



More information about the Pkg-clamav-devel mailing list