Project

General

Profile

Tâche #21321

Scénario #19897: Étudier l'erreur freshclam sur AmonEcole

Etude de l'erreur freshclam sur AmonEcole.

Added by Laurent Flori about 6 years ago. Updated about 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/11/2017
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Description

Voir si c'est un problème de préinstance. Dans le cas contraire évaluer l'ampleur du problème.


Related issues

Related to Distribution EOLE - Tâche #15126: Correction SCRIBE-T07-004 (2.5.2b1) : mise à jour des bases de signature Fermé 02/23/2016 03/04/2016

Associated revisions

Revision 43e8587d (diff)
Added by Laurent Flori about 6 years ago

Remove clamd notification from freshclam update

ref: #21321 @2h

Freshclam doesn't need to notify clamd daemon after updating databases.

History

#1 Updated by Laurent Flori about 6 years ago

  • Subject changed from Etude de l'erreur freshclam sur AmonEcole. to Etude de l'erreur freshclam sur AmonEcole.
  • Estimated time set to 4.00 h
  • Remaining (hours) set to 4.0

#2 Updated by Laurent Flori about 6 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Laurent Flori about 6 years ago

Ce n'est pas seulement un problème de préinstance. On peut facilement reproduire le warning sur un amonecole 2.6.2

rm /var/lib/clamav/daily.cvd
sudo freshclam

L'erreur vient du fait que freshclam cherche à notifier le démon clamd du changement des bases. On éviter ce warning en commentant dans /etc/clamav/freshclam.conf:

NotifyClamd /etc/clamav/clamd.conf

Je pense que l'on peut commenter sans problème cette ligne:
  • ce n'est pas le comportement par défaut de freshclam
    # Send the RELOAD command to clamd.
    # Default: no
    
  • que clamd devrait savoir que sa base a changé (cf [[https://bugzilla.redhat.com/show_bug.cgi?id=692016#c1]]
  • que le démon est rechargé dans tous les conteneurs concernés si jamais il y a un changement dans les bases

#4 Updated by Laurent Flori about 6 years ago

  • Remaining (hours) changed from 4.0 to 2.0

#5 Updated by Laurent Flori about 6 years ago

  • Remaining (hours) changed from 2.0 to 0.5

#6 Updated by Laurent Flori about 6 years ago

  • Status changed from En cours to Résolu

#7 Updated by Joël Cuissinat about 6 years ago

  • Related to Tâche #15126: Correction SCRIBE-T07-004 (2.5.2b1) : mise à jour des bases de signature added

#8 Updated by Joël Cuissinat about 6 years ago

  • % Done changed from 0 to 100

La modification me convient ;)

#9 Updated by Joël Cuissinat about 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

Also available in: Atom PDF