Re: Clamd and systemd

2012-09-24 Thread Zdenek Pytela
Arthur Dent pise: > I have done nothing, but install and configure clamav (scanner + server) > and my logs are full of these: > ===8<=== > LibClamAV Warning: RWX mapping denied: Can't allocate RWX Memory: > Permission denied > LibClam

Re: Clamd and systemd

2012-09-21 Thread Arthur Dent
> >>> Is this the default setting for clamd now? clamd_use_jit on Should we >>> turn this on by default? >> On a fresh install there is >> >> # Bytecode mode # # This option has been set to 'ForceInterpreter' in >> Fedora due to # security concerns by default. You might need to enable >> th

Re: Clamd and systemd

2012-09-21 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/20/2012 05:38 AM, Zdenek Pytela wrote: > Daniel J Walsh pise: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 09/19/2012 07:36 AM, Bill Shirley wrote: >>> >>> On 9/19/2012 5:47 AM, Arthur Dent wrote: > "What tells it that it is a

Re: Clamd and systemd

2012-09-21 Thread Arthur Dent
>> >> On 9/19/2012 5:54 PM, Arthur Dent wrote: [snip] > Thanks for jogging my memory. It will work of course, but it still feels a > bit of a kludge. Zdenek Pytela has pointed out that it does indeed seem to > be hardcoded so I think I might report it as a bug. > https://bugzilla.redhat.com/show_

Re: Clamd and systemd

2012-09-20 Thread Arthur Dent
> > On 9/19/2012 5:54 PM, Arthur Dent wrote: >> On Wed, 2012-09-19 at 17:00 -0400, Bill Shirley wrote: >>> On 9/19/2012 3:36 PM, Arthur Dent wrote: >>> On Wed, 2012-09-19 at 10:47 +0100, Arthur Dent wrote: >> [snip] useful recipe (similar to mine). The thing is, for me "clamdscan >> --no

Re: Clamd and systemd

2012-09-20 Thread Zdenek Pytela
Arthur Dent pise: > On Wed, 2012-09-19 at 17:00 -0400, Bill Shirley wrote: > > > > On 9/19/2012 3:36 PM, Arthur Dent wrote: > > > > > On Wed, 2012-09-19 at 10:47 +0100, Arthur Dent wrote: > > > > > > > All is not _quite_ perfect however. In calling clamdscan from my script > > > (itself called

Re: Clamd and systemd

2012-09-20 Thread Zdenek Pytela
Daniel J Walsh pise: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 09/19/2012 07:36 AM, Bill Shirley wrote: > > > > On 9/19/2012 5:47 AM, Arthur Dent wrote: > >>> "What tells it that it is a "scan" service? That bit of the puzzle > >>> seems to be missing..." > >>> > >>> Whatever is t

Re: Clamd and systemd

2012-09-20 Thread Bill Shirley
On 9/20/2012 5:02 AM, Zdenek Pytela wrote: Arthur Dent pise: Well sadly no joy... # yum install clamav-scanner-systemd # systemctl enable clamd.scan.service Failed to issue method call: No such file or directory Just for the record: there are differences between f16 and f17, the f16'

Re: Clamd and systemd

2012-09-20 Thread Zdenek Pytela
Arthur Dent pise: > Well sadly no joy... > > # yum install clamav-scanner-systemd > > # systemctl enable clamd.scan.service > Failed to issue method call: No such file or directory Just for the record: there are differences between f16 and f17, the f16's /lib/systemd/system/clamd.scan.ser

Re: Clamd and systemd

2012-09-19 Thread Bill Shirley
On 9/19/2012 5:54 PM, Arthur Dent wrote: On Wed, 2012-09-19 at 17:00 -0400, Bill Shirley wrote: On 9/19/2012 3:36 PM, Arthur Dent wrote: On Wed, 2012-09-19 at 10:47 +0100, Arthur Dent wrote: All is not _quite_ perfect however. In calling clamdscan from my script (itself called from procmail)

Re: Clamd and systemd

2012-09-19 Thread Arthur Dent
On Wed, 2012-09-19 at 17:00 -0400, Bill Shirley wrote: > > On 9/19/2012 3:36 PM, Arthur Dent wrote: > > > On Wed, 2012-09-19 at 10:47 +0100, Arthur Dent wrote: > > > > All is not _quite_ perfect however. In calling clamdscan from my script > > (itself called from procmail) I get the error: > >

Re: Clamd and systemd

2012-09-19 Thread Bill Shirley
Well had you changed any default settings in clamd to turn on JIT or does it come with JIT turned on by default? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBaMGAACgkQrlYvE4MpobO1hQCgu6O9WCIZ2byEgkkFX0

Re: Clamd and systemd

2012-09-19 Thread Bill Shirley
On 9/19/2012 3:36 PM, Arthur Dent wrote: On Wed, 2012-09-19 at 10:47 +0100, Arthur Dent wrote: "What tells it that it is a "scan" service? That bit of the puzzle seems to be missing..." Whatever is the parameter after the @ and before the dot becomes %i in the service file. Look at the servi

Re: Clamd and systemd

2012-09-19 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/19/2012 04:41 PM, Bill Shirley wrote: > > On 9/19/2012 3:21 PM, Daniel J Walsh wrote: On 09/19/2012 07:36 AM, Bill > Shirley wrote: On 9/19/2012 5:47 AM, Arthur Dent wrote: >> "What tells it that it is a "scan" service? That bit of the

Re: Clamd and systemd

2012-09-19 Thread Bill Shirley
On 9/19/2012 3:21 PM, Daniel J Walsh wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/19/2012 07:36 AM, Bill Shirley wrote: On 9/19/2012 5:47 AM, Arthur Dent wrote: "What tells it that it is a "scan" service? That bit of the puzzle seems to be missing..." Whatever is the parameter

Re: Clamd and systemd

2012-09-19 Thread Arthur Dent
On Wed, 2012-09-19 at 10:47 +0100, Arthur Dent wrote: > > "What tells it that it is a "scan" service? That bit of the puzzle seems > > to be missing..." > > > > Whatever is the parameter after the @ and before the dot becomes %i in > > the service file. Look at the service file: > > [Unit] > > De

Re: Clamd and systemd

2012-09-19 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/19/2012 07:36 AM, Bill Shirley wrote: > > On 9/19/2012 5:47 AM, Arthur Dent wrote: >>> "What tells it that it is a "scan" service? That bit of the puzzle >>> seems to be missing..." >>> >>> Whatever is the parameter after the @ and before the d

Re: Clamd and systemd

2012-09-19 Thread Arthur Dent
> > On 9/19/2012 5:47 AM, Arthur Dent wrote: >>> "What tells it that it is a "scan" service? That bit of the puzzle >>> seems >>> to be missing..." >>> >>> Whatever is the parameter after the @ and before the dot becomes %i in >>> the service file. Look at the service file: >>> [Unit] >>> Descrip

Re: Clamd and systemd

2012-09-19 Thread Bill Shirley
On 9/19/2012 5:47 AM, Arthur Dent wrote: "What tells it that it is a "scan" service? That bit of the puzzle seems to be missing..." Whatever is the parameter after the @ and before the dot becomes %i in the service file. Look at the service file: [Unit] Description = clamd scanner (%i) daemon

Re: Clamd and systemd

2012-09-19 Thread Arthur Dent
> "What tells it that it is a "scan" service? That bit of the puzzle seems > to be missing..." > > Whatever is the parameter after the @ and before the dot becomes %i in > the service file. Look at the service file: > [Unit] > Description = clamd scanner (%i) daemon > After = syslog.target nss-lo

Re: Clamd and systemd

2012-09-18 Thread Bill Shirley
"What tells it that it is a "scan" service? That bit of the puzzle seems to be missing..." Whatever is the parameter after the @ and before the dot becomes %i in the service file. Look at the service file: [Unit] Description = clamd scanner (%i) daemon After = syslog.target nss-lookup.target

Re: Clamd and systemd

2012-09-18 Thread Arthur Dent
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

Re: Clamd and systemd

2012-09-18 Thread Arthur Dent
> 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 and

Re: Clamd and systemd

2012-09-18 Thread Frank Murphy
On 16/09/12 10:29, Arthur Dent wrote: On previous Fedora installs (pre F15) I used to use this excellent script which took all the pain out of setup: http://blog.christophersmart.com/2009/12/17/script-for-configuring-clamav-server-on-fedora/ I have used this on F17/F18/Rawhide, there are som

Re: Clamd and systemd

2012-09-18 Thread Zdenek Pytela
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 and PID (etc.

Re: Clamd and systemd

2012-09-17 Thread Arthur Dent
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 and PID (etc. etc.) things > > I have to change