Description of Problem: If a ppp connection is invoked via ifup-ppp, and the connection is not successful on the first attempt, ppp-watch
makes two calls to ifup-ppp after timeout delay. The second call fails because the first call holds the modem lock, which causes ppp-watch to exit.
Since ifdown-ppp checks for a running copy of ppp-watch, it refuses to shut down the ppp connection. May be related to bug 43501.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Force script failure by disconnecting phone line from modem and invoke ifup ppp0.
2. After connect script failure, reconnect phone line to allow redial to be successful
3. invoke ifdown ppp0
Upon additional problem determination, I find that this bug is caused by Scott
Sharkey's MAXFAIL patch being placed following the previous retry logic, instead
of replacing it. I have had good luck in testing by merely commenting out the
previous if block. However, I wonder if it would be better to place the MAXFAIL
code inside the if block. [Still deleting the original forkexec, of course.]