Bug 10639

Summary: ppp (or ppp-watch) not honoring maxfail
Product: [Retired] Red Hat Linux Reporter: Scott Sharkey <ssharkey>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: ak, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-07 05:05:04 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 Flags
Fix ppp-watch to honor a MAXFAIL variable controlling dialing none

Description Scott Sharkey 2000-04-07 16:34:03 UTC
It appears that ppp no longer honors the maxfail option to limit the number
of times to redial the modem if the line does not connect.  This may be in
ppp-watch -- I've just started looking at it's code.

The problem my customer is having is that they are trying to dial a number
of machines located around the state (NOT ISP's) and sometimes one of them
is down.  ppp just keeps dialing that one, generating hundreds of phone
calls.

A second problem is that the line sometimes fails to disconnect, even if
ifdown is called.  I will attempt to fix that with a "maxconnect" option.

Comment 1 Scott Sharkey 2000-04-20 23:13:59 UTC
Created attachment 208 [details]
Fix ppp-watch to honor a MAXFAIL variable controlling dialing

Comment 2 Scott Sharkey 2000-04-20 23:16:59 UTC
I have generated a patch, which will look in ifcfg-pppx for a MAXFAIL setting
that will stop the redialing after a certain number of tries.  It's in the
attachement.  I found that setting the idle and/or maxconnect options will
force the line to drop after x idle seconds, or y seconds connected.

Comment 3 Nalin Dahyabhai 2000-05-02 20:26:59 UTC
The ppp-watch program is part of the initscripts package, so I'm changing the
component to initscripts.

Comment 4 Bill Nottingham 2000-12-12 07:34:14 UTC
Will be added in initscripts-5.53-1.

Comment 5 Alex Kanavin 2001-05-06 20:29:14 UTC
This patch introduces a serious bug into ppp-watch, please see bug #39231 for a
fix.