[Yum-devel] decrease error level of individual mirror failure?

seth vidal skvidal at phy.duke.edu
Wed Jul 13 13:53:31 UTC 2005


On Wed, 2005-07-13 at 08:40 -0400, Matthew Miller wrote:
> This trivial patch decreases the error level of the 'Trying other mirror'
> failure from 1 to 2. This will make it show up by default, but not in
> scripts which set -e1. 
> 
> For our automatic updates at BU, our mirror list consists of an AFS URL
> followed by an FTP URL, with failovermethod=priority. If someone is
> off-campus or behind a NAT box (AFS doesn't play well with NAT) or otherwise
> hates OpenAFS (justifiable), the first mirror will always fail. This isn't
> interesting information, and in fact is bugging the heck out of some of our
> admins (read: Paul Stauffer).

really? It's annoying Paul? In that case it stays. :)

> However, I don't want to supress all level 1 errors -- I'd much rather this
> particular one be lowered to 2. What'dya think?

Since it is just the 'trying other mirror' and it's not the 'all of
mirrors' message, it seems okay to move it back up to a 2 instead of a
1.

I'll merge the patch.

-sv





More information about the Yum-devel mailing list