[clamav-users] freshclam-sleep doesn't exist in epel8 packages
khodor barakat
khodor.barakat at outlook.com
Fri Oct 28 23:45:26 UTC 2022
Hi,
redhat doesn't support this package,
this package is vi epel8
i also looked at https://docs.clamav.net/ and couldn't find anything that talks about freshclam-sleep
in fact, that existed in epel7 and the freshclam-sleep is the script used to run clamav updates vi cron, i had this setup on my rhel7 system but now after migration , the file was not within the clamav-update package in epel8 menahwile it is listed on epel7
[19:30:33][root at server1 active]$ cat /usr/share/clamav/freshclam-sleep
#! /bin/bash
# Copyright (C) 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
FRESHCLAM_MOD=$[ 3*60 ] # 3 hours
f=/etc/sysconfig/freshclam
test ! -e "$f" || . "$f"
case x"$1" in
(xnow) FRESHCLAM_DELAY=0;;
(x|xrandom) : ${FRESHCLAM_DELAY:=$[ 0x`hostid` ]};;
(*) FRESHCLAM_DELAY=$1;;
esac
set -e
case $FRESHCLAM_DELAY in
(disabled-warn)
echo $"\
WARNING: update of clamav database is disabled; please see
'$f'
for information how to enable the periodic update resp. how to turn
off this message." >&2
exit 1
;;
(disabled)
exit 0
;;
(*)
let FRESHCLAM_MOD*=60
sleep $[ (FRESHCLAM_DELAY % FRESHCLAM_MOD + FRESHCLAM_MOD) % FRESHCLAM_MOD ]
;;
esac
/usr/bin/freshclam --quiet > /dev/null
Introduction - ClamAV Documentation<https://docs.clamav.net/>
ClamAV. ClamAV is an open source (GPLv2) anti-virus toolkit, designed especially for e-mail scanning on mail gateways. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and advanced tool for automatic database updates.
docs.clamav.net
________________________________
From: clamav-users <clamav-users-bounces at lists.clamav.net> on behalf of G.W. Haywood via clamav-users <clamav-users at lists.clamav.net>
Sent: Friday, October 28, 2022 6:28 PM
To: khodor barakat via clamav-users <clamav-users at lists.clamav.net>
Cc: G.W. Haywood <clamav at jubileegroup.co.uk>
Subject: Re: [clamav-users] freshclam-sleep doesn't exist in epel8 packages
Hi there,
On Fri, 28 Oct 2022, khodor barakat via clamav-users wrote:
> ...
> the redhat 8 package is missing the following :
>
> /etc/cron.d/clamav-update
> /usr/share/clamav/freshclam-sleep
>
> is this a normal behavior ?
I think you should ask Red Hat. They don't exist in the official source.
--
73,
Ged.
_______________________________________________
Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation
https://docs.clamav.net/#mailing-lists-and-chat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20221028/d3be2b5e/attachment.htm>
More information about the clamav-users
mailing list