Bug 39231
| Summary: | The MAXFAIL patch for ppp-watch from bug #10639 is broken (fix available) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Alex Kanavin <ak> | ||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.1 | CC: | rkaa, rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2001-05-12 22:35:27 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Alex Kanavin
2001-05-05 20:39:30 UTC
Created attachment 17469 [details]
A fix for MAXFAIL
The current implementation doesn't seem to allow for infinite retries.
To fix this one could allow for negative MAXFAIL values which should
be interpreted as: REALLY PERSIST, keep on trying.
The test after incrementing dialCount should be changed from:
if ( dialCount < maxfail ) {
to:
if ( maxfail < 0 || dialCount < maxfail ) {
Infinite retries are actually possible without your proposed change: simply set
the MAXFAIL to 0 (zero) or omit it alltogether from your ifcfg file. That's
because in the sources all this maxfail stuff is prefixed by
if ( maxfail != 0 ) {
Thanks, the fix will be in initscripts-5.88-1. Any hint as to when initscripts-5.88-1 will be available? Where is this errata? PERSIST=yes doesn't work as it should (I assume because of this bug) on a number of my servers and it's giving me major headaches. |