|Summary:||If a ppp connection fails, the boot process hangs|
|Product:||[Retired] Red Hat Linux||Reporter:||Göran Uddeborg <goeran>|
|Component:||initscripts||Assignee:||Bill Nottingham <notting>|
|Status:||CLOSED RAWHIDE||QA Contact:||Brock Organ <borgan>|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2003-01-14 04:01:47 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description Göran Uddeborg 2002-11-16 11:13:06 UTC
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: When some ppp connection is set to start at boot time, but it for some reason fails, ppp-watch will wait indefinitely for it to finish. And the boot routine in turn will wait for ppp-watch indefinitely. Version-Release number of selected component (if applicable): 6.95-1 How reproducible: Always Steps to Reproduce: 1.Configure a PPP connection with DEMAND=yes and ONBOOT=yes 2.Reboot Actual Results: The boot process hangs when trying to start up the PPP interface. Expected Results: After a time-out, I would expect the boot to continue. (Well, initially, I would have expected the interface to actually come up. But as I reported in bug 54680, this does not work properly. That problem is still around in 6.95. In any case, this could probably happen also when the PPP connection fails for other reasons, so this is a separate bug.) Additional info: The ifup-ppp script uses the syntax ppp-watch interface interface [boot] when calling ppp-watch. This is also what the manual page says. But the program actually implements the (older, I think) syntax ppp-watch interface [boot] The result is that ppp-watch does not realize it is called at boot time, and will not set the appropriate time-out. One could of course modify ppp-watch.c to implement the expected syntax. But after looking at this a little, I could see no reason for giving ppp-watch the interface twice. So I enclose a trivial patch for ifup-ppp which uses the syntax actually implemented instead.
Comment 1 Göran Uddeborg 2002-11-16 11:14:29 UTC
Created attachment 85264 [details] Patch to ifup-ppp to call ppp-watch the way it expects.
Comment 2 Bill Nottingham 2003-01-14 04:01:47 UTC
Added in 7.03-1, thanks!