[Bug 1126560] Re: /etc/networking/* are executed multiple times
Sworddragon
1126560 at bugs.launchpad.net
Fri Mar 1 10:00:24 UTC 2013
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
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1126560
Title:
/etc/networking/* are executed multiple times
Status in “ifupdown” package in Ubuntu:
New
Bug description:
I'm using Ubuntu 13.04 dev with ifupdown 0.7.5ubuntu2. I have noticed
that on booting my system in /etc/networking the scripts in if-pre-
up.d and if-up.d are executed multiple times. On my observations I
have noticed that they can even be executed parallelized. I have
logged what happened on a boot:
1. The content of /etc/networking/if-pre-up.d is executed parallelized 2 times.
2. After they have finished the content of /etc/networking/if-up.d is excuted.
3. Then the content of /etc/networking/if-pre-up.d is excuted again.
4. At last the content of /etc/networking/if-up.d is executed again too.
As a summary: The content of /etc/networking/if-pre-up.d was executed
3times and /etc/networking/if-up.d 2 times.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1126560/+subscriptions
More information about the foundations-bugs
mailing list