[Pkg-clamav-devel] Bug#775400: Bug#775400: clamav-freshclam: freshclam cant download virus definitions

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Fri Jan 16 20:45:35 UTC 2015


On 2015-01-15 23:50:02 [+0100], Andreas Cadhalpun wrote:
> Hi,
Hi,

> Indeed, it works for most, so I'm reducing the severity.
thanks.

> I can reproduce this in a minimal jessie chroot with:
> # apt install clamav-base
> # apt remove clamav-base
> # apt install clamav-base

Hah. How so? After my remove, "/var/lib/clamav/" was still owned by
clamav:clamav. But this was on my working sid.

> This can be worked around with:
> # apt purge clamav-base
> # apt install clamav-base
> 
> The problem is that clamav-base.postinst calls chown only on fresh
> installations. This should be easy to fix by moving the chown calls out of
> the 'if [ -z "$2" ]'.

Isn't this also done as part of debconf? The user can be changed via debconf so
ideally it should also chown the folder. And I think we did this. Or we
wanted to split debconf from clamav-base to daemon and freshclam.

> >>-- debconf information:
> >>   clamav-freshclam/http_proxy: �
> >this looks strange. But it is not your doing, right?
> 
> It seems the debconf setting is corrupted, which is really strange.

I will try to test the new d-i for jessie. So maybe I can reproduce
this…

> Best regards,
> Andreas

Sebastian



More information about the Pkg-clamav-devel mailing list