Red Hat Bugzilla – Bug 216955
Ambiguity re: mirror repo vs. authoritative repo
Last modified: 2009-07-07 00:09:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:126.96.36.199) Gecko/20061105 Red Hat/188.8.131.52-0.1.el4 Firefox/184.108.40.206 pango-text
Description of problem:
If you want clients to use your mirror in place of the official repositories, disable the existing repositories. To do this, edit the client's file for the official repository to include the directive enabled=0. You will need root access to edit these files.
The above is technically correct and useful, but provides an unfortunate choice between the speed offered by a local repo and the reliability offered by "official" mirror lists.
If, for example, the mirror tutorial was to include instructions on configuring a client using the yum-priorities package from Fedora Extras, then the procedure outlined in this document would result in a preferred local mirror backed up by the official Fedora mirrorlist, ideally resulting in maximum deployment speed, minimal Internet traffic, and built-in failure protection should the local mirror ever fail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
In addition to using yum-priorities, it may also be feasible to generate one's own mirrorlist by programatically appending the output of the "official" mirrorlist to the end of a file containing the local mirror(s) created by following the tutorial; if this was re-built periodically, say as frequently as the local mirror was rsync'ed, this could still maintain even distribution of network traffic. This approach has not been tested.
The mirror-tutorial is obsolete and no longer maintained. For current mirroring
information pertinent to end users and mirror administrators, refer to:
Ticket moved to allow products to be removed from BZ.