Enhancement #2035

Antivirus: do not save freshclam status on SME db

Added by Giacomo Sanchietti about 8 years ago. Updated about 8 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-antivirus
Target version:v6.4-beta2
Resolution: NEEDINFO:No

Description

Actual implementation saves freshclam status and timestamp to SME db using the action freshclam-store-state.
This is information is not used, and causes unwanted changes to SME db: the db should be used only for configuration.

Change the freshclam-store-state to save information on a log file for future use, for example a Dashboard plugin to show last antivirus update status.


Related issues

Related to NethServer 6 - Enhancement #2062: Upgrade ClamAV to 0.97.8 CLOSED 08/19/2013 08/20/2013

Associated revisions

Revision 95eb9469
Added by Giacomo Sanchietti about 8 years ago

db defaults, freshclam-store-state: save freshclam status to log file Refs #2035

History

#1 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60
Changes:
  • removed FreshclamState and FreshclamTimestamp properties
  • freshclam-store-state saves output to /var/log/clamav/freshclam-updates.log

#4 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
New package in nethserver-testing:
  • nethserver-antivirus-1.0.4-1
Test case:
  • Check configuration db content (Eg: config show|md5sum)
  • Execute freshclam command
  • Check configuration db content is unchanged
  • Check /var/log/clamav/freshclam-updates.log content; it should contain something like:
    outdated-0.97.8 2013-07-30T07:43:58Z

#5 Updated by Davide Principi about 8 years ago

  • Assignee set to Davide Principi

#6 Updated by Davide Principi about 8 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

#7 Updated by Davide Principi about 8 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Moved to nethserver-updates repository

Also available in: Atom PDF