On Tue, 2012-09-18 at 09:56 +0100, Arthur Dent wrote:
Arthur Dent pise:
On Mon, 2012-09-17 at 11:04 +0200, Zdenek Pytela wrote:
Arthur Dent pise:
Hello all,
Has anyone got a simple walkthrough for configuring clamd and
getting it
working with systemd on F17?
I am getting lost in the myriad of <SERVICE> and PID (etc. etc.)
things
I have to change and .conf files I have to edit and move...
In particular, what am I supposed to do with the /usr/lib/systemd/system/clamd@.service file?
Not to touch ;-). Just run systemctl enable clamd.scan.service systemctl start clamd.scan.service
Hi - Thanks for that, but I'm afraid that was one of the very many things I tried. It didn't work.
# systemctl enable clamd.scan.service Failed to issue method call: No such file or directory
What tells it that it is a "scan" service? That bit of the puzzle seems to be missing...
The main question is: what do you want to do? Just check files on disk or check them when they are uploaded on a webserver or check incoming and outcoming mail? Then, do you want continous updates of virus database or just update rpm packages?
I do use clamav for occasional file scanning, but the primary reason for this install to to scan incoming email. I have a procmail recipe which uses clamd to scan and filter mail. I have freshclam running via cron and I also use the sane-security 3rd party signatures.
You most probably need to install clamav (+its dependencies) and clamav-update, maybe also clamav-scanner with clamav-scanner-systemd which contains the .service file. But I am just guessing. There are 19 clamav related packages.
I am at work at the moment I and I can no longer SSH into my F17 box (the BOFH sysadmin here has blocked all "non-essential" inbound and outboud ports - but I am working on him to get my access back!) so I can't check, but I think I have installed all the required packages with the possible exception of clamav-scanner-systemd. When I get home I will check that out. I think that may be the cause of my problem.
Thanks! I will report back...
Well sadly no joy...
# yum install clamav-scanner-systemd
# systemctl enable clamd.scan.service Failed to issue method call: No such file or directory
# rpm -qa | grep clam clamav-server-systemd-0.97.5-1700.fc17.noarch clamav-update-0.97.5-1700.fc17.i686 clamav-filesystem-0.97.5-1700.fc17.noarch clamav-lib-0.97.5-1700.fc17.i686 clamav-scanner-systemd-0.97.5-1700.fc17.noarch clamav-unofficial-sigs-3.7.1-7.fc17.noarch clamav-0.97.5-1700.fc17.i686 clamav-data-0.97.5-1700.fc17.noarch clamav-scanner-0.97.5-1700.fc17.noarch clamav-server-0.97.5-1700.fc17.i686
Anything else I should have?
Any other ideas?
Thanks again...
Mark