Scénario #34609
Mis à jour par Gilles Grandgérard il y a plus d'un an
Ce template ClamD a été crée pour la version 0.99 (2016).
La version en cours chez Ubuntu est la 103.
Il faut vérifier les options du fichier de conf Clamd.conf
Ex. :
<pre>
00:06:04.330 WARNING: Ignoring deprecated option DetectBrokenExecutables at /etc/clamav/clamd.conf:206
00:06:04.330 ERROR: Can't save PID to file /run/clamav/clamd.pid: No such file or directory
</pre>
Donc,
Clam n'est pas fonctionnel
--> e2guardian
<pre>
sept. 16 11:24:05 amon e2guardian0[2356]: "2022.09.16 11:24:05"," -","10.1.2.50","http://repo.saltproject.io/py3/ubuntu/20.04/amd64/3004/dists/focal/InRelease","*SCANNED* *Accès interdit* ICAP Response filtering: WARNING: Could not perfo>
sept. 16 11:24:05 amon e2guardian0[2356]: Error connecting to ClamD socket
sept. 16 11:24:05 amon e2guardian0[2356]: Unknown return code from content scanner: -1
</pre>
--> squid répond 403
--> apt-get en erreur !
Exemple d'info : https://github.com/edestecd/puppet-clamav/issues/62
A voir :
* EOLE 2.8 ?
* amon audit[22973]: AVC apparmor="DENIED" operation="capable" profile="/usr/sbin/clamd" pid=22973 comm="clamd" capability=2 capname="dac_read_search"
La version en cours chez Ubuntu est la 103.
Il faut vérifier les options du fichier de conf Clamd.conf
Ex. :
<pre>
00:06:04.330 WARNING: Ignoring deprecated option DetectBrokenExecutables at /etc/clamav/clamd.conf:206
00:06:04.330 ERROR: Can't save PID to file /run/clamav/clamd.pid: No such file or directory
</pre>
Donc,
Clam n'est pas fonctionnel
--> e2guardian
<pre>
sept. 16 11:24:05 amon e2guardian0[2356]: "2022.09.16 11:24:05"," -","10.1.2.50","http://repo.saltproject.io/py3/ubuntu/20.04/amd64/3004/dists/focal/InRelease","*SCANNED* *Accès interdit* ICAP Response filtering: WARNING: Could not perfo>
sept. 16 11:24:05 amon e2guardian0[2356]: Error connecting to ClamD socket
sept. 16 11:24:05 amon e2guardian0[2356]: Unknown return code from content scanner: -1
</pre>
--> squid répond 403
--> apt-get en erreur !
Exemple d'info : https://github.com/edestecd/puppet-clamav/issues/62
A voir :
* EOLE 2.8 ?
* amon audit[22973]: AVC apparmor="DENIED" operation="capable" profile="/usr/sbin/clamd" pid=22973 comm="clamd" capability=2 capname="dac_read_search"