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
Steps to Reproduce:
1.Configure a PPP connection with DEMAND=yes and ONBOOT=yes
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.)
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.
Created attachment 85264 [details]
Patch to ifup-ppp to call ppp-watch the way it expects.
Added in 7.03-1, thanks!