なんだこれは

はてなダイアリーから移転しました。

clamavのdatabaseが二つあって怒られた件について。

clamavというopen sourceのanti virus softのdatabaseが二つあってどっちなの?
main.cvdなの?main.cldなの?選んでよ!って詰め寄られた。

まず怒られてみた。

clamavのdatabaseをアップデートする。

sudo freshclam  -v

Current working dir is /opt/local/share/clamav
Max retries == 3
ClamAV update process started at Sat Feb 26 09:37:00 2011
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 624
Software version from DNS: 0.97
main.cvd version from DNS: 53
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cvd version from DNS: 12781
daily.cld is up to date (version: 12781, sigs: 60190, f-level: 60, builder: guitar)
bytecode.cvd version from DNS: 140
bytecode.cld is up to date (version: 140, sigs: 40, f-level: 58, builder: edwin)
[LibClamAV] Detected duplicate databases /opt/local/share/clamav/main.cvd and /opt/local/share/clamav/main.cld, please manually remove one of them
[LibClamAV] Detected duplicate databases /opt/local/share/clamav/main.cvd and /opt/local/share/clamav/main.cld, please manually remove one of them

確かに二つある。

ls /opt/local/share/clamav/
  • bytecode.cld
  • daily.cld
  • main.cvd
  • main.cld
  • main.cld.org
  • mirrors.dat

じゃあ、True End*1

sudo mv mv main.cld 2010-11-15-main.cld

それでどうなったかというと....

sudo freshclam  -v

Current working dir is /opt/local/share/clamav
Max retries == 3
ClamAV update process started at Sat Feb 26 09:43:48 2011
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 216
Software version from DNS: 0.97
main.cvd version from DNS: 53
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cvd version from DNS: 12781
daily.cld is up to date (version: 12781, sigs: 60190, f-level: 60, builder: guitar)
bytecode.cvd version from DNS: 140
bytecode.cld is up to date (version: 140, sigs: 40, f-level: 58, builder: edwin)

*1:やっぱり原作通りの方がおもしろいよね?え、何って俺妹ですよ??