[Bug 886205] Re: Disabling network-interface break rc-sysinit compatibility script

Ubuntu QA's Bug Bot bug-stats at murraytwins.com
Fri Nov 4 20:15:36 UTC 2011


The attachment "rc-sysinit.conf.diff" of this bug report has been
identified as being a patch.  The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch.  In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch.  Additionally, if you are member
of the ubuntu-sponsors please also unsubscribe the team from this bug
report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/886205

Title:
  Disabling network-interface break rc-sysinit compatibility script

Status in “upstart” package in Ubuntu:
  New

Bug description:
  I've upgraded an ubuntu server installation from hardy to lucid, moving indeed from sysV-init to upstart.
  I use in this server a custom set of iptables script that i run from /etc/network/if-up.d/*, and after rebooting the server nothing seems to work.

  After some panic, i've found the culprit: simply my script suppose
  that interfaces are brought up in the exact order they are written in
  /etc/network/interfaces (this is a server, clearly they have static ip
  addresses...), but upstart (better: the network-interface script)
  instead brought up the interface in mixed/casual order.

  So, i've commented out the 'start on' and 'stop on' rows on network-
  interface.conf, but now the machine boot with correct interface order
  (and so, correct iptables rules) but with little or no service
  available.

  Again, some panic, some work and i've found that the ''sysv
  compatibility scripts'' depends only on dynamic interfaces, not static
  ones.

  Patch attached that solve the problem. Thanks.

  PS: i've tried to read the upstart documentation to understand if
  there's a better way to ''serialize'' network interface brought up. So
  probably my patch solve my problem in a wrong way. Please, say me if
  it is the case...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/886205/+subscriptions




More information about the foundations-bugs mailing list