I have now extended my script with $IFACE and the result is very annoying. On restarting the network with /etc/init.d/networking restart (network_restart2.log) --all and eth0 were registered. I'm wondering why eth0 is registered there if --all is already used or why lo is missing. On rebooting the system (network_reboot2.log) it is more confusing. eth0 was registered on if-pre-up.d 2 times, lo 1 time and --all 1 time. On if-up.d lo, eth0 and --all were registered 1 time. I'm wondering here too why --all is registered if eth0 and lo are already registered. But it is even annoying why eth0 was registered 2 times on if-pre-up.d. The difference why restarting the network is calling the scripts sequentially and rebooting the system parallel makes the chaos perfect.
** Attachment added: "debug2" https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1126560/+attachment/3552578/+files/debug2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1126560 Title: /etc/networking/* are executed multiple times To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1126560/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs