The change to actually pass through the FC_UPTODATE status code to as the exit code is something that kinda snuck in with a change to provide the details to libfreshclam users.
Another user brought this to my attention a couple months ago and we modified the code to revert the behavior for ClamAV 0.101. For those playing with the 0.101 beta, you should notice that the freshclam exit code is 0 for both SUCCESS and UPTODATE scenarios. https://github.com/Cisco-Talos/clamav-devel/commit/d0b738a873cf136f6b012cce04b81ff3afa05df1
Sorry about the confusion.
Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.
On Nov 7, 2018, at 10:21 AM, Robert Chalmers <***@gmail.com<mailto:***@gmail.com>> wrote:
Ok, thanks. So UPDATE and SUCCESS actually are much the same. But in this case, the service is interpreting it as a non-zero return code and saying âI donât know what this means, but Iâll assume its an errorâ
I suppose I could change it and recompile, but now I know what it is, Iâll leave it.
Thanks for your help.
On 7 Nov 2018, at 14:07, Eric Tykwinski <eric-***@truenet.com<mailto:eric-***@truenet.com>> wrote:
Robert,
Looking at the freshclam return codes, it's not a problem.
https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.101/freshclam/freshclamcodes.h
FC_UPTODATE = 1,
So basically it means there was no changes.
Sincerely,
Eric Tykwinski
TrueNet, Inc.
P: 610-429-8300
-----Original Message-----
From: clamav-users [mailto:clamav-users-***@lists.clamav.net] On
Behalf Of Robert Chalmers
Sent: Wednesday, November 07, 2018 5:24 AM
To: clamav-***@lists.clamav.net
Subject: [clamav-users] freshclam. Service exited with abnormal code: 1
Iâm running freshclam on a Mac with a plist startup file, and although it
appears to work at the required intervals, it always drops this error in the
system.log
"Nov 7 08:46:40 zeus com.apple.xpc.launchd[1]
(org.homebrew.freshclam[85799]): Service exited with abnormal code: 1"
The odd thing is, it appears to work each time, but then gives this error when
it exits.
I can not find the reason for this.
Thanks
Robert
_______________________________________________
clamav-users mailing list
clamav-***@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
clamav-***@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
Robert Chalmers
https://robert-chalmers.uk
***@robert-chalmers.uk
@R_A_Chalmers
_______________________________________________
clamav-users mailing list
clamav-***@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml