[Bug 1126560] Re: /etc/networking/* are executed multiple times

Stéphane Graber stgraber at stgraber.org
Fri Mar 1 15:32:06 UTC 2013


>From the manpage:
"""
       When  ifupdown  is  being  called with the --all option, before doing anything to interfaces, if calls all the hook scripts (pre-up or down) with IFACE set to
       "--all", LOGICAL set to the current value of --allow parameter (or "auto" if it's not set), ADDRFAM="meta" and METHOD="none".  After all the  interfaces  have
       been brought up or taken down, the appropriate scripts (up or post-down) are executed.
"""

So when called with -a, it'll first call the hooks with IFACE="--all"
and then call them again for each interface.

** Changed in: ifupdown (Ubuntu)
       Status: New => Invalid

-- 
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:
  Invalid

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