I was trying to do something very similar for Juju - when the machine boots we rewrite /etc/network/interfaces to add bridges for active interfaces to support container networking.
Our sequence is: $ ifdown -a $ transform --in-place /etc/network/interfaces $ ifup -a and with bonds configured using 802.3ad this would always hang on the ifup stage. If I add a: $ sleep 0.5 after the transform stage then the sequence of ifdown/up seems to work very reliably. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1269921 Title: networking services restart hangs due to missing /etc/network/run/ifenslave.* files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ifenslave/+bug/1269921/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
