[Mageia-sysadm] mirror check
nicolas vigier
boklm at mars-attacks.org
Wed Aug 3 12:55:51 CEST 2011
Hello,
There was a problem with www.quicklynet.com mirror. See bug 1942 :
https://bugs.mageia.org/show_bug.cgi?id=1942
The problem with this website is that it never returns any 404 error,
but always returns a page containing a frame, http://190.56.161.66//XXXX
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
mirror.
To disable this mirror, I set the ip of www.quicklynet.com to 127.0.0.1
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