[Pkg-clamav-devel] Bug#672537: Unnecessary? dependency on clamav-daemon

Paul Wise pabs at debian.org
Mon May 21 13:49:55 UTC 2012


On Fri, 2012-05-11 at 15:23 -0500, Richard Laager wrote:

> Is it necessary for clamav-unofficial-sigs to Depend on clamav-daemon?
> On my servers, I'm installing clamav-unofficial-sigs to facilitate
> nightly clamscans from cron. The effect of this dependency is to have
> clamd running on every one of my boxes 24x7. It's not a huge issue, but
> it'd be nice to avoid that.

In the default configuration clamav-daemon is needed because
clamav-unofficial-sigs runs cron jobs as the clamav user, stores sigs in
the directories from clamav-daemon and calls clamd to reload sigs.

If you don't want to run clamd, I would suggest you configure your init
system to not run it and then configure clamav-unofficial-sigs to not
tell clamd to reload the sigs:

sudo sh -c 'update-rc.d disable clamav-daemon ; (echo ; echo reload_dbs=no ; echo reload_opt= ) >> /etc/clamav-unofficial-sigs.conf.d/disable-reload.conf'

Is the above acceptable to you?

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20120521/109d9c1d/attachment.pgp>


More information about the Pkg-clamav-devel mailing list