Project

General

Profile

Anomalie #190

L'antivirus remplit /var

Added by Guillaume Henin over 11 years ago. Updated over 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
03/15/2010
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Distribution:

Description

La quarantaine est dans /var/virus or la partition /var est beaucoup plus petite que /data, ce qui peut conduire à un replissage de /var qui bloque le système.

Les données à mettre en quarantaine étant déjà dans /data, il vaudrait mieux les déplacer au sein de ce volume.
- On gagne en temps I/O (un move au sein d'un filesystem est beaucoup plus rapide qu'entre deux filesystem différents)
- On ne risque plus de déborder, les données étant déplacées au sein d'un filesystem il n'y a aucune modification sur l'espace occupé.


Related issues

Related to conf-scribe - Anomalie #219: L'antivirus remplit /var Fermé 03/15/2010
Related to Distribution EOLE - Evolution #690: Passer à scannedonly-0.20 Fermé 06/18/2010

Associated revisions

Revision 6a63c398 (diff)
Added by Joël Cuissinat over 11 years ago

plus besoin de /var/virus (ref #190)

Revision 0ff0cfe2 (diff)
Added by Joël Cuissinat over 11 years ago

changement du chemin pour la purge des virus (fixes #190)

Revision c30a5cd5 (diff)
Added by Joël Cuissinat over 11 years ago

on ne sauvegarde pas les virus (ref #190)

Revision 816ad04a (diff)
Added by Joël Cuissinat over 11 years ago

on ne sauvegarde pas les virus (ref #190)

Revision bd9a1b88 (diff)
Added by Alexandre Delaunay almost 6 years ago

slightly improve responsie view; fix #190

Revision ab26080a (diff)
Added by Alexandre Delaunay almost 6 years ago

fix display issues with ticket; see #190

Revision 2232b6f8 (diff)
Added by Alexandre Delaunay almost 6 years ago

tickets actors responsive mode; see #190

Revision c303f658 (diff)
Added by Alexandre Delaunay almost 6 years ago

commonGLPI::isNewID fals; see #190

Revision 749f2c8b (diff)
Added by Alexandre Delaunay almost 6 years ago

revert c303f658 and find a better solution to apply css to raw CommonGLPI; see #190

Revision c7cd6c1e (diff)
Added by Ludovic Dupont almost 6 years ago

Fixed ticket add form css

fix #190

Revision 1739cbdc (diff)
Added by Ludovic Dupont almost 6 years ago

Fixed ticket add form css
fix #190

Revision e1136274 (diff)
Added by Alexandre Delaunay almost 6 years ago

fix lefttab ticket new form (remove first table right shift); see #190

Revision 77302782 (diff)
Added by Alexandre Delaunay over 5 years ago

improve responsive mode; see #190

Revision abce60a2 (diff)
Added by Alexandre Delaunay over 5 years ago

better touch scroll for tabs (in split mode); see #190

Revision e732a6f7 (diff)
Added by amma35 almost 3 years ago

PHP Warning(2): array_merge(): Argument #1 is not an array fix #190

Revision 57a5517e (diff)
Added by Arnaud FORNEROT about 1 year ago

system de tag sur les icones (ref #190)

History

#1 Updated by Joël Cuissinat over 11 years ago

  • Status changed from Nouveau to Accepté
  • Assigned To set to Joël Cuissinat
  • Target version set to Mises à jour 2.2.2 - 01 RC
  • Estimated time set to 2.00 h

#2 Updated by Joël Cuissinat over 11 years ago

  • Project changed from Horus to conf-horus

#3 Updated by Joël Cuissinat over 11 years ago

  • Target version changed from Mises à jour 2.2.2 - 01 RC to 48

(dupliqué dans conf-scribe)

Modification nécessaires :

- preinstance/makedirs
- crontab
- script d'init de scannedonly sauf que sur horus ce serait /data et sur Scribe /home

#4 Updated by Guillaume Henin over 11 years ago

En fait, il suffirait de ne plus utiliser l'option -d pour scannedonlyd_clamav
Par défaut, celui-ci renomme les fichiers en .virus:xxxxx
La seule modif est donc sur le script d'init pour enlever l'option -d, la modif étant identique sur scribe et horus

#5 Updated by Luc Bourdot over 11 years ago

  • Target version changed from 48 to 2.3 BETA 1

#6 Updated by Joël Cuissinat over 11 years ago

  • Target version changed from 2.3 BETA 1 to Mises à jour 2.2.2 - 03 RC

On va effectivement enlever l'option "-d"...

--quarantainedir -d    
Since 0.13 By default a file is renamed into .virus:file. 
If you want all viruses in a central location specify a quarantainedir. 
If a virus is found it will be moved to this directory.

#7 Updated by Joël Cuissinat over 11 years ago

  • % Done changed from 0 to 50

#8 Updated by Joël Cuissinat over 11 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 50 to 100

#9 Updated by Joël Cuissinat over 11 years ago

  • Status changed from Résolu to Fermé

OK en version candidate :

root@horus:~# grep virus /var/log/syslog
Jun 23 10:56:23 horus scannedonlyd_clamav[19319]: 2:0: WARNING: /data/home/tuser/virus.txt contains virus Eicar-Test-Signature!
Jun 23 10:56:23 horus scannedonlyd_clamav[19319]: 2: moving /data/home/tuser/virus.txt to /data/home/tuser/.virus:virus.txt

Also available in: Atom PDF