Re: [Clamav-users] v0.86.2 'OUTDATED' version check INCORRECT ... reports as OLDER than v0.86.1
On Monday 25 Jul 2005 04:38, OpenMacNews wrote: hi luca, per your a0.86.2 announcement, i just ul'd installed v0.86.2 on OSX 10.4.2; i had previously been running v0.86.1. after install, a 'freshclam' results in: ClamAV update process started at Sun Jul 24 19:38:48 2005 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.86.2 Recommended version: 0.86.1 DON'T PANIC! Read http://www.clamav.net/faq.html which, of course, is 'backwards' ... I have found that stopping freshclam and then starting it picks up the new version. -HUPing does not appear to do the trick, same goes for log rotation. I have also renamed /etc/init.d/freshclam to /etc/init.d/freshclamd, as killall was also trying to kill the /etc/init.d/freshclam. Weird but understandable. Here is a modified version of the freshclam control script: (restartquiet is for logrotation, stops spurious cron emails) #!/bin/sh # /etc/init.d/freshclamd COMMAND=$1 if [ $COMMAND == start ] ; then echo -n Starting freshclam daemon ... /usr/local/bin/freshclam -d echo done. exit elif [ $COMMAND == stop ] ; then echo -n Stopping freshclam daemon ... killall -TERM freshclam echo done. exit elif [ $COMMAND == reload ] ; then echo -n Restarting freshclam daemon ... killall -HUP freshclam echo done elif [ $COMMAND == restart ] ; then echo -n Stopping freshclam daemon ... killall -TERM freshclam echo done. sleep 5 echo -n Starting freshclam daemon ... /usr/local/bin/freshclam -d echo done. elif [ $COMMAND == restartquiet ] ; then killall -TERM freshclam sleep 5 /usr/local/bin/freshclam -d else echo usage: $0 start|stop|restart|reload exit fi HTH -- - Bob Hutchinson Midwales dot com - ___ http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] v0.86.2 'OUTDATED' version check INCORRECT ... reports as OLDER than v0.86.1
hi damian, thx 4 the reply =) I haven't seen that, and have confirmed that the DNS TXT record for current.cvd.clamav.net is correctly set at 0.86.2. Try running freshclam again and see if you still get the warning. If you do, check your DNS -- you might be getting stale data. It's possible that your ISP is caching the DNS record for 24 hours or some other abnormally-long time. (It's supposed to be cached for 15 minutes.) well, you may be spot-on. all's 'suddenly' (a few hours later ...) OK! whic, i suppose, is 'good news'. sorry for any fire drill ... nonethless, there seems like there *was* a check which reported a newer version as too old ... cheers, richard ___ http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] v0.86.2 'OUTDATED' version check INCORRECT ... reports as OLDER than v0.86.1
On Sun, 24 Jul 2005, OpenMacNews wrote: nonethless, there seems like there *was* a check which reported a newer version as too old ... You may be interested to know how this works: The version check just compares to see if you're running a specific version. Previously it checked if you were running 0.86.1, and would complain if you weren't. Now it checks to see if you're running and complains if you're not. It doesn't do anything fancy like comparing numbers to see that 0.86.2 0.86.1, which is why it's possible to get a complaint that you're running a later version than it knows about. The question you asked comes up every time there's an upgrade. Even though they update the DNS record to reflect the version increase, apparently there's always someone who manages to get the new version installed faster than their DNS cache expires the old data. Suggestions to patch this to allow for string comparison of version numbers have been ignored. Probably because such suggestions were not accompanied with a working patch. But it really wouldn't be difficult to adjust to functionality to allow for this. The 0th field would continue to contain the latest available version (0.86.2). And the 4th field would be changed to contain the oldest allowed version (0.68.1 for a day or two, then 0.86.2). A strcmp would be sufficient to determine whether it should complain and/or how loudly. Note that this solution is backwards compatible with the current zero/nonzero usage of field 4. Damian Menscher -- -=#| Physics Grad Student SysAdmin @ U Illinois Urbana-Champaign |#=- -=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=- -=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=- -=#| [EMAIL PROTECTED] www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=- -=#| The above opinions are not necessarily those of my employers. |#=- ___ http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] v0.86.2 'OUTDATED' version check INCORRECT ... reports as OLDER than v0.86.1
On Sun, 24 Jul 2005, OpenMacNews wrote: per your a0.86.2 announcement, i just ul'd installed v0.86.2 on OSX 10.4.2; ClamAV update process started at Sun Jul 24 19:38:48 2005 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.86.2 Recommended version: 0.86.1 DON'T PANIC! Read http://www.clamav.net/faq.html which, of course, is 'backwards' ... I haven't seen that, and have confirmed that the DNS TXT record for current.cvd.clamav.net is correctly set at 0.86.2. Try running freshclam again and see if you still get the warning. If you do, check your DNS -- you might be getting stale data. It's possible that your ISP is caching the DNS record for 24 hours or some other abnormally-long time. (It's supposed to be cached for 15 minutes.) Damian Menscher -- -=#| Physics Grad Student SysAdmin @ U Illinois Urbana-Champaign |#=- -=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=- -=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=- -=#| [EMAIL PROTECTED] www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=- -=#| The above opinions are not necessarily those of my employers. |#=- ___ http://lurker.clamav.net/list/clamav-users.html