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?
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.
--
--Zdenek Pytela, <pytela(a)phil.muni.cz>