[Mageia-sysadm] mirror check

nicolas vigier boklm at mars-attacks.org
Wed Aug 3 12:55:51 CEST 2011


There was a problem with www.quicklynet.com mirror. See bug 1942 :

The problem with this website is that it never returns any 404 error,
but always returns a page containing a frame,
for page http://www.quicklynet.com/XXXX.

The script to check the mirrors, and update the mirrors database only
check the return code from wget, so it didn't see the problem with this

To disable this mirror, I set the ip of www.quicklynet.com to
in /etc/hosts on alamut, and in ips table in mirrors database, and ran
the check_mirror script. I also set "lastcheck" to 1000 days in the
futur in distributions_validity table, so that it is not checked again.

So I think mga-mirrors should be updated to do this (maybe already
planned) :
- have an option to disable a mirror (other than setting an invalid
  path, as it doesn't work with servers that don't return error for
  invalid paths)
- check_mirror script also check content of mageia_timestamp file, and
  disable mirror when invalid content, or timestamp too old.

More information about the Mageia-sysadm mailing list