[Pkg-clamav-devel] Bug#775400: Bug#775400: clamav-freshclam: freshclam cant download virus definitions
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Thu Jan 15 21:31:29 UTC 2015
On Thu, Jan 15, 2015 at 10:13:27AM +0100, Ulrich Schmidt wrote:
> Package: clamav-freshclam
> Version: 0.98.5+dfsg-3
> Severity: grave
> Tags: newcomer
Why newcommer?
> Justification: renders package unusable
Not unter normal circumstances. Atleast I hope so :)
> Hi.
>
> I did a fresh Jessie install yesterday and installed clamav-daemon+clamav-
> freshclam, clamav+clamav-freshclam, deinstalled those packages, reinstalled,
> removed, deleted clamav subfolders many many times, to find something i did
> wromg.
I am under the impression that atleast 2 should work on Jessie. But I will try
to re-test.
> Finally i found 2 things that stops freshclam working:
>
> 1) /etc/clamav/freshclam.conf has a bad HTTPProxyServer line so freshclam cant
> connect.
> I commented out the HTTPProxyServer line and freshclam was able to connect.
How did that line get in there? Did you enter something or did it get there on
its own?
> 2) folder /var/lib/clamav was root:root and freshclam cant create files in this
> folder.
> I did a "chown clamav:clamav /var/lib/clamav" and clamav and freshclam starts
> running fine. (At least it seems so :) ).
If I recall correctly then clamav-base should do this chown in its postinst.
It is also the one that adds the clamav user to /etc/passwd and so on… This
should have happen since otherwise "chown clamav:clamav" would not work.
> Greetings.
>
> Config file: clamd.conf
> -----------------------
> DatabaseDirectory = "/var/lib/clamav"
> User = "clamav"
This should ensure that the user is set. I will check why it does not happen.
> Config file: freshclam.conf
> ---------------------------
> HTTPProxyServer disabled
> HTTPProxyPort disabled
> HTTPProxyUsername disabled
> HTTPProxyPassword disabled
> HTTPUserAgent disabled
This is all disabled, so freshclam should not try to use a proxy but
> -- debconf information:
> clamav-freshclam/http_proxy: �
this looks strange. But it is not your doing, right?
Sebastian
More information about the Pkg-clamav-devel
mailing list