On Wed, 3 Dec 2014 17:59:29 +0100 Armin Haas <ar...@awawa.de> wrote:
> Package: ifupdown
> Version: 0.7.50
> Severity: important
> 
> Dear Maintainer,
> 
> With version 0.7.50, my netbook doesn't finish booting, when eth0 isn't
> connected to the router. Instead it seems to wait with this message:
> 
> A start job is running for LSB: Raise network interfaces. (15min 10s / no 
> limit)
> 
> (The 15min 10s part is of course where the time count increases)
> 
> Connecting eth0 to the router while this message is being displayed has no
> effect (or I didn't wait long enough, just 1 min).

Could you please try and wait a bit longer?

> But when eth0 is connected to the router before boot starts, all works fine.
> 
> Reverting to version 0.7.49 from snapshots.debian.org solves the problem and
> boot works with and without eth0 being connected to the router.

With 0.7.49, allow-hotplug interfaces were handled by udev and started
in the background, not blocking the boot process. This had the downside,
that services which depend on $network didn't work properly.

I suspect, that it's simply dhclient trying to get a lease and you
simply need to wait for it to time out.

If you add systemd.debug-shell to the kernel command line (man 7
kernel-command-line), you can switch to a root shell on vt9 during boot
and inspect the system.

The output of "ps aux", "journalctl -alb" and "systemctl list-jobs"
might be helpful.


As for the operstate check: I did remove this check, because even with a
cable plugged in, I got "down"  when running "cat
/sys/class/net/eth0/operstate" in my test VM, so /etc/init.d/networking
never configured the interface, so this check proved to be not really
reliable.

Andrew, I guess what you want to do here is have some kind of link
detection? Why is that part of the init script an not ifup itself?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to