Looks like I was wrong about Apache2::Geo::Mirror not updating... it
does appear to update when the file is changed (or at least appears to
do so)
In any case, /usr/local/share/GeoIP/gnu-ftpmirror.txt is now properly
generated via a cronjob every hour (by a script
in~/bin/gnu-mirror-geoip-sync.pl).
If you approve of the setup, you can email sysadmin and have them change
the dns for ftpmirror.gnu.org
On 03/01/2011 09:23 PM, Michael J. Flickinger wrote:
A cronjon now exists on the download vm for keeping an up-to-date list:
/root/bin/gnu-mirror-geoip-sync.pl
I still need to implement a file-refreshing feature for the
Apache2::Geo::Mirror module.
Karl Berry wrote:
One problem here is that the Apache2::Geo::Mirror module only loads
the mirror list upon initialization of Apache,
Wow. That would explain a lot of things where users keep reporting
outdated mirrors no longer in the list, etc.
I think the most sane thing to do here is subclass
Apache2::Geo::Mirror
and add a simple feature that checks the last modified time of
the /usr/local/share/GeoIP/gnu-ftpmirror.txt file; if it changes,
reload the
We'd want to do the same thing for the existing non-gnu redirector too,
of course. Ideally even pass that fix back upstream, if there still is
an upstream ...
Thanks for all,
k