Bug 129195 - ifup-ppp does not pass "boot" to ppp-watch when it should
ifup-ppp does not pass "boot" to ppp-watch when it should
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
4
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks: FC5Target
  Show dependency treegraph
 
Reported: 2004-08-04 18:56 EDT by Chris Leighton
Modified: 2014-03-16 22:47 EDT (History)
5 users (show)

See Also:
Fixed In Version: 8.32-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-10 19:01:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Pass $2 == "boot" correctly (367 bytes, patch)
2006-02-28 19:50 EST, Miloslav Trmač
no flags Details | Diff

  None (edit)
Description Chris Leighton 2004-08-04 18:56:32 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):
initscripts-7.55.1-1

How reproducible:
Always

Steps to Reproduce:
1. configure a ppp connection
2.
3.
    

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"

Additional info:
Comment 1 Rik van Riel 2004-09-30 12:11:21 EDT
Chris, do you happen to have a fix for this problem ?
Comment 2 Matthew Miller 2005-04-26 12:09:39 EDT
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.
Comment 3 Chris Leighton 2005-04-26 18:16:30 EDT
The problem as described is still an issue in FC3 therefore please leave as 
outstanding against FC3 and possibly FC4.
Comment 4 Miloslav Trmač 2006-02-28 19:50:39 EST
Created attachment 125434 [details]
Pass $2 == "boot" correctly

Looks obvious enough, but I have no way to test it right now.
Comment 5 Richard Godbee 2006-03-11 00:42:26 EST
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.
Comment 6 Miloslav Trmač 2006-04-10 19:01:29 EDT
Fixed in rawhide initscripts-8.32-1.  Thanks for your report.

Note You need to log in before you can comment on or make changes to this bug.