Re: [CentOS] clamd@amavisd fails under systemd - FIXED

2016-11-11 Thread Rob Kampen
On 12/11/16 16:46, Gordon Messmer wrote: On 11/11/2016 02:39 AM, Rob Kampen wrote: When I invoke from the CLI - there is a -nofork=yes as a part of the invocation. When systemd tries to do the invocation via the ExecStart line - the original clamd@.service file had this --nofork=yes also, the

Re: [CentOS] clamd@amavisd fails under systemd

2016-11-11 Thread Helmut Drodofsky
CentOS 7 and my experience with clamav 99.2 from epel repository: instead of --nofork you need --foreground=yes nofork parameter is definitly outdated. See man clamd.conf and https://www.centos.org/forums/viewtopic.php?t=58763 with the necessary changes in /etc/systemd/system/multi-user.target.w

Re: [CentOS] clamd@amavisd fails under systemd

2016-11-11 Thread Gordon Messmer
On 11/11/2016 02:39 AM, Rob Kampen wrote: When I invoke from the CLI - there is a -nofork=yes as a part of the invocation. When systemd tries to do the invocation via the ExecStart line - the original clamd@.service file had this --nofork=yes also, the problem was that this just caused an aben

Re: [CentOS] clamd@amavisd fails under systemd

2016-11-11 Thread Rob Kampen
On 11/11/16 13:36, Gordon Messmer wrote: On 11/09/2016 02:07 AM, Rob Kampen wrote: so I have /etc/tmpfiles.d/clamd.amavisd.conf with content d /var/run/clamd.amavisd 0755 amavis amavis - the process owner name and group name are amavis this is not quite what you specified - which should it be?

Re: [CentOS] clamd@amavisd fails under systemd

2016-11-11 Thread Rob Kampen
On 11/11/16 13:36, Gordon Messmer wrote: On 11/09/2016 02:07 AM, Rob Kampen wrote: so I have /etc/tmpfiles.d/clamd.amavisd.conf with content d /var/run/clamd.amavisd 0755 amavis amavis - the process owner name and group name are amavis this is not quite what you specified - which should it be?

Re: [CentOS] clamd@amavisd fails under systemd

2016-11-10 Thread Gordon Messmer
On 11/09/2016 02:07 AM, Rob Kampen wrote: so I have /etc/tmpfiles.d/clamd.amavisd.conf with content d /var/run/clamd.amavisd 0755 amavis amavis - the process owner name and group name are amavis this is not quite what you specified - which should it be? If "User" is set to amavis in the clamd

Re: [CentOS] clamd@amavisd fails under systemd

2016-11-09 Thread Rob Kampen
On 09/11/16 11:48, Gordon Messmer wrote: On 11/08/2016 03:24 AM, Rob Kampen wrote: If there is anyone that has this combo of services working under CentOS7 and can shed any insight on why I cannot get this service to actually run, it would be very much appreciated. When setting up a clamd s

Re: [CentOS] clamd@amavisd fails under systemd

2016-11-08 Thread Gordon Messmer
On 11/08/2016 03:24 AM, Rob Kampen wrote: If there is anyone that has this combo of services working under CentOS7 and can shed any insight on why I cannot get this service to actually run, it would be very much appreciated. When setting up a clamd service, you should need to enable the serv