Enhancement #1907

Antivirus: remove freshclam mirror checks

Added by Davide Principi over 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

http mirror checks can slow down installation process if network is unreachable: remove nc ... 80 tests

Associated revisions

Revision 86f217d7
Added by Giacomo Sanchietti about 8 years ago

nethserver-antivirus-init-avdb action: remove mirror checks. Refs #1907

History

#1 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from NEW to TRIAGED
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 0 to 20

Modify /etc/e-smith/events/actions/nethserver-antivirus-init-avdb removing all mirror checks.

#2 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from TRIAGED to ON_DEV
  • % 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 70

Removed all mirror checks.

#4 Updated by Giacomo Sanchietti about 8 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 70 to 80

Package nethserver-antivirus-1.0.3-1 is nethserver-testing repository.

Test case:
  • Install: yum --enablerepo=nethserver-testing install nethserver-antivirus
  • Check nethserver-antivirus-update event is not hanging on nethserver-antivirus-init-avdb action

#5 Updated by Davide Principi about 8 years ago

  • Assignee deleted (Giacomo Sanchietti)

ON_QA: Assignee reset

#6 Updated by Davide Principi about 8 years ago

  • Assignee set to Davide Principi

#7 Updated by Davide Principi about 8 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 80 to 100

VERIFIED

RPMs:

nethserver-php-1.1.0-1.ns6.noarch
nethserver-smartd-1.0.0-1.ns6.noarch
nethserver-yum-1.1.0-1.ns6.noarch
nethserver-base-1.3.1-1.ns6.noarch
nethserver-nethgui-1.2.1-1.ns6.noarch
nethserver-httpd-admin-1.0.4-1.ns6.noarch
nethserver-grub-1.0.1-1.ns6.noarch
nethserver-openssh-1.0.2-1.ns6.noarch
nethserver-release-6.4-beta1.noarch
nethserver-lib-1.2.0-1.ns6.noarch
nethserver-ntp-1.0.4-1.ns6.noarch

nethserver-antivirus-1.0.3-1.ns6.noarch

My test case:
  1. Install, disabling nethserver Yum plugin, to avoid *-update events
        # yum install --disableplugin=nethserver --enablerepo=nethserver-testing nethserver-antivirus
  2. Unplugged ethernet cable
  3. Signalled *-update event
        # signal-event nethserver-antivirus-update
    

clamd is up and running.

#8 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