Red Hat Bugzilla – Bug 129195
ifup-ppp does not pass "boot" to ppp-watch when it should
Last modified: 2014-03-16 22:47:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 95)
Description of problem:
ppp-watch is not passed "boot" arg. by ifup-ppp because the script
passes its $2 (sometimes "boot") to ppp-watch, but a "shift" has
moved "boot" into $1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. configure a ppp connection
Actual Results: does not start "ppp-watch ppp0 boot" but as "ppp-
watch ppp0" so start is delayed while connectiojn is established
Expected Results: that ppp-watch is passed "boot"
Chris, do you happen to have a fix for this problem ?
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
The problem as described is still an issue in FC3 therefore please leave as
outstanding against FC3 and possibly FC4.
Created attachment 125434 [details]
Pass $2 == "boot" correctly
Looks obvious enough, but I have no way to test it right now.
I ran into this bug earlier today -- a machine ~50 miles away hung on boot while trying to bring up ppp0
because its PPP peer was powered off. BOOTTIMEOUT was ignored since ppp-watch didn't think the
machine was in the process of booting.
I created a patch before discovering this bug report, and my patch is identical to Miloslav Trmac's patch
(attachment 125434 [details]). Although this bug is filed under the "Fedora Core" product, please note that the
bug is also present in RHEL.
Fixed in rawhide initscripts-8.32-1. Thanks for your report.