[Bug 1618726] Re: ifup & ifdown crash if multiple interfaces are listed in no-scripts

Andy Whitcroft apw at canonical.com
Wed Sep 14 09:49:42 UTC 2016


Hello Richard, or anyone else affected,

Accepted ifupdown into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/ifupdown/0.8.10ubuntu1.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: ifupdown (Ubuntu Xenial)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
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/1618726

Title:
  ifup & ifdown crash if multiple interfaces are listed in no-scripts

Status in ifupdown package in Ubuntu:
  Fix Committed
Status in ifupdown source package in Xenial:
  Fix Committed
Status in ifupdown package in Debian:
  New

Bug description:
  [Impact]
  ifup and ifupdown segfault if multiple interfaces are listed in no-scripts

  This is a trivially reproducible crash in ifup/ifdown, with a patch
  attached.

  [Test Case]
  Steps to reproduce:
  1) echo no-scripts foo bar >> /etc/network/interfaces
  2) ifup baz

  Expected results:
  Unknown interface baz

  Actual results:
  Segmentation fault (core dumped)

  It's irrelevant whether the second interface is on the same no-scripts line or separate one. This will crash just the same:
  echo no-scripts foo >> /etc/network/interfaces
  echo no-scripts bar >> /etc/network/interfaces

  [Regression potential]
  Seems slight. The patch fixes a clear bug in code that is only used to process the no-scripts (and apparently no-auto-down) stanzas.

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



More information about the foundations-bugs mailing list