Hello,

On Fri, 27 Jun 2014 21:13:40 +0200
Michael Biebl <[email protected]> wrote:

> the udev package ships a udev rule [1], which runs ifup $INTERFACE via
> the net.agent helper.

> This seems to create a race with the networking SysV init script which
> runs also runs ifup for hotplugged interfaces in ifup_hotplug().

Yes, I've noticed that quite a while ago, but haven't found a good way
to resolve the issue.

> Is there a need to ifup allow=hotplug interfaces from within the
> networking init script, seeing that net.aget / 80-networking.rules
> already cover hotplugged interfaces?

Even if I remove that, there's still probability of races, as net.agent
blocks on the state of the real interface, while it should wait for
ifupdown to do its job first. 

> Aside from that, I do think that it would make sense to move net.agent
> and 80-networking.rules from udev into ifupdown proper.

> What do you think?

Yes, I think I need to take that script over and fix that. Thanks for
filing a bug.

-- 
Cheers,
  Andrew

Attachment: signature.asc
Description: PGP signature

Reply via email to