[Pkg-clamav-devel] Bug#961884: add init script / systemd unit for clamonacc background scanner
vmxevilstar at gmail.com
vmxevilstar at gmail.com
Thu Jan 19 07:47:17 GMT 2023
I use it to quell my paranoid mode to scan my debian laptop
On Thu, 2023-01-19 at 08:09 +0100, Stefan Hornburg (Racke) wrote:
> On 18/01/2023 21:59, Sébastien Villemot wrote:
> > On Tue, 29 Jun 2021 22:08:31 +0200 Sebastian Andrzej Siewior
> > <sebastian at breakpoint.cc> wrote:
> > > On 2020-05-30 19:53:49 [+0000], Patrick Schleizer wrote:
> > > > package clamav-daemon ships a file /usr/bin/clamonacc which is
> > > > a
> > > > background virus scaning guard / real-time protection. It's
> > > > currently
> > > > non-trivial to use.
> > > >
> > > > sudo clamonacc
> > > >
> > > > ERROR: Clamonacc: at least one of OnAccessExcludeUID,
> > > > OnAccessExcludeUname, or OnAccessExcludeRootUID must be
> > > > specified ... it
> > > > is reccomended you exclude the clamd instance UID or uname to
> > > > prevent
> > > > infinite event scanning loops
> > > >
> > > > May I suggest adding an init script / systemd unit file which
> > > > runs the
> > > > clamonacc background scanner?
> > >
> > > The config file has to be touched manually to configure it
> > > properly. In
> > > the past this was part of clamd and people managed to lockup /
> > > deadlock
> > > their systems. Therefore I hesitate to add an initscript here.
> > > However I agree that even with proper configuration an initscript
> > > would
> > > be nice here since there is no need to over complicate it.
> > >
> > > Feel free to post something (by someone who is actually using
> > > it),
> > > otherwise I try to add something later on.
> >
> > As of clamav-daemon 1.0.0+dfsg-5, a systemd unit is provided for
> > clamonacc, so it looks like this issue has been addressed.
> >
> > However, the unit is enabled by default. This looks like a bug,
> > because
> > the service fails to start with the default configuration.
> >
>
> IMHO it doesn't make sense to be enabled as default even if it would
> start properly.
> Most common use of ClamAV is to scan emails.
>
> Regards
> Racke
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-clamav-devel/attachments/20230119/c2d14a90/attachment.htm>
More information about the Pkg-clamav-devel
mailing list