svn commit: r517347 - in head: . security security/clamav security/clamav-milter security/clamav/files

Craig Leres leres at freebsd.org
Tue Nov 19 00:07:23 UTC 2019


On 2019-11-12 12:07, Kurt Jaeger wrote:
> Author: pi
> Date: Tue Nov 12 20:07:20 2019
> New Revision: 517347
> URL:https://svnweb.freebsd.org/changeset/ports/517347
> 
> Log:
>    security/clamav: upgrade 0.101.4 -> 0.102.0

Just in case anyone else runs into this issue: the 0.102.0 version of 
freshclam dumps core when the current working directory is unreadable. I 
run freshclam from cron using a wrapper script that posts nagios status 
using send_nsca. This job started dumping core after upgrading to 
0.102.0. (The fix for me was to add a "cd /tmp" to the script).

I filed this upstream bug report:

     https://bugzilla.clamav.net/show_bug.cgi?id=12442

		Craig

dot 29 # cd /var/cron
dot 30 # ls -gld .
drwxr-x---  3 root  wheel  512 Jan 18  2019 .
dot 31 # su -fm clamav
% freshclam
ClamAV update process started at Mon Nov 18 15:53:26 2019
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
ERROR: Failed to change back to original directory /var/cron
Segmentation fault (core dumped)
%


More information about the svn-ports-all mailing list