Comment 39 for bug 881079

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 881079] Re: "Waiting up to 60 more seconds for network configuration" at startup

On Tue, Nov 01, 2011 at 03:37:44PM -0000, ororo wrote:
> auto dsl-provider
> iface dsl-provider inet ppp
> pre-up /sbin/ifconfig wlan0 up # line maintained by pppoeconf
> provider dsl-provider

> Indeed, the ppp connection relies on the wifi connection, which will be
> enabled *after*, by Network Mananger.

> I don't want to eliminate such lines.

You surely do. 'auto' is a directive to ifupdown to try to start the
interface automatically at boot. This clearly will always fail according to
your description, so your /etc/network/interfaces is broken and should be
fixed.

> Now, I ask you programmers: why all these "sleep"s? Why do you want to
> wait 2 minutes? I think, if the network is not up after few seconds,
> skip it, and boot up without network. Please tell me if I am wrong.

You are wrong. The network can take more than a minute to be configured in
some legitimate circumstances, and it's important that we be as safe as
possible in our failsafe. Your bug is that you have a misconfigured system
that is causing you to *hit* the failsafe. A properly configured system
should never hit the timeout.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>