On Sun, Sep 25, 2016 at 05:31:23PM -0400, manul wrote:

> As per man interfaces 5, I want my eth0 interface to be brought up (and 
> dchp-initialized) only when the link gets up (cable gets connected).

Actually, the manpage does not mention that hotplug interfaces are
brought up only when a link is detected, only that a subsystem
initializes the interface.

The problem is that link detection doesn't work reliably on many network
cards, and it actually caused problems in some cases. This is why I
decided to make it behave more consistently, by removing the check for
the link state.

> When I boot with eth0 cable unplugged in the bootup log sequence I get:
> >> Configuring network interfaces...
> >> ifup: waiting for lock on /run/network/interfaces/ifstate.eth0
> 
> At this point the boot is stuck for about 1 min until the message "ifup: 
> interface eth0 already configured" comes up, and bootup continues.

Hm, that is interesting, it shouldn't wait for the lock on eth0 there,
since it's not an auto interface. I'll try to fix this at the very
least, and see if I can add an option to bring back the link state
detection.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <g...@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to