On 07/06/2010 11:28 AM, Daniel McDonald wrote:
On 7/6/10 12:53 PM, "JD"<jd1...@gmail.com>  wrote:

   On 07/06/2010 10:28 AM, Dennis Peterson wrote:
    On 07/06/2010 09:38 AM, Chuck Swiger wrote:
Hi, JD--

So, the fedora distro people screwed up by setting it to level 44 in the
source code?

Is it possible you installed only a clam client and not the full suite?

You must not have read this thread from the start.
I posted that I had installed
         clamav-0.95.3-1301.fc13.i686
         clamav-update-0.95.3-1301.fc13.i686
         clamav-lib-0.95.3-1301.fc13.i686
         clamav-filesystem-0.95.3-1301.fc13.noarch
         clamav-data-0.95.3-1301.fc13.noarch
But as we did not decide how fedora would divide the package, you might not
have clamd.
It did (I have deleted the whole fedora clam distro packages).
That is why when I had executed it, it bailed out because it could
not find the clamd.conf file.

   Mandriva has these packages:
$rpm -qa | grep clam
clamav-db-0.96.1-0.1mdvmes5.1
libclamav6-0.96.1-0.1mdvmes5.1
clamav-0.96.1-0.1mdvmes5.1
clamav-unofficial-sigs-3.7.1-1mdvmes5.1
clamd-0.96.1-0.1mdvmes5.1
I built from source :
clamav-0.96.1-1.el5.src.rpm <http://packages.sw.be/clamav/clamav-0.96.1-1.el5.src.rpm> 20-May-2010 08:09 39M Distribution independent source
from http://packages.sw.be/clamav/
and the build created:
clamav-0.96.1-1.fc13.i686.rpm
clamd-0.96.1-1.fc13.i686.rpm
clamav-milter-0.96.1-1.fc13.i686.rpm
clamav-db-0.96.1-1.fc13.i686.rpm
clamav-devel-0.96.1-1.fc13.i686.rpm

and I installed them.
Most of it is now well except for freshclam.
For example, the packages installed from the build
failed to create user clamupdate, which freshclam needs.
So I had to fix that manually.
Then freshclam was unable to create /var/log/freshclam.log even though
I was running it as root. I had to fix that manually. Reason why it could
not open it, is because it was openning it for *append*. If opened with append, the open syscall WILL NOT CREATE THE FILE if it does not exist. So this is a bug
in freshclam.
Furthermore, it appears that when freshclam is run as root, it appears to demote itself to the user clamupdate (after I created it). And since I had "touched" /var/log/freshclam.log (as root), it was owned by root and not write-able by
freshclam. I had to fix that too.
Finally, freshclam needs to create temporary stuff in /var/clamav
which it cannot because clamav has a different uid than clamupdate,
but have same gid. I had to chmod /var/clamav to 775 to allow freshclam to create
temp files there.
Also, freshclam should have a default clamd.conf pathname (such as /etc/clamd.conf),
instead of just complain that it could not find /path/to/clamd.conf

All in all, these packages are just not ready for the non-techie user!!

Even building form source rpm (which solved a few deficiencies in the
regular fedora distro clam packages), but did not solve all of them.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to