[Bug 1126560] Re: /etc/networking/* are executed multiple times
Stéphane Graber
stgraber at stgraber.org
Fri Feb 15 20:16:50 UTC 2013
Ok, with that config you should have all the scripts run twice in theory, once for the loopback device and once for eth0.
Not sure why you're seeing one running 3 times though.
All the .d scripts are run once per interface, so it's perfectly normal
for them to be called multiple times. Interfaces are brought up as they
show up from the kernel, so they can indeed be brought up in parallel.
Scripts should expect that and deal with that accordingly. If they
don't, a bug against the package providing the script is the way
forward.
--
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