[Bug 1570142] Re: net-interface-handler needs updating for newer ifupdown

Ubuntu Foundations Team Bug Bot 1570142 at bugs.launchpad.net
Thu Apr 14 04:24:54 UTC 2016


** Tags added: patch

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

Title:
  net-interface-handler needs updating for newer ifupdown

Status in open-iscsi package in Ubuntu:
  In Progress

Bug description:
  newer ifupdown versions (those in xenial) now keep interface state in
  /run/network/ifstate.<interfacename> rather than combined in
  /run/network/ifstate .

  We need to update /lib/open-iscsi/net-interface-handler to write the
  interface name into /run/network/ifstate.<interfacename> and then also
  tear that down on down.

  The failure can be seen when booting a maas image, if you first move the included symlink out of the way:
  p="/etc/network/interfaces"; 
   [ -e "$p.link" -o -L "$p.link" ] || mv "$p" "$p.link"; cp "$p.dist" "$p"

  (maas images ship with /etc/network/interfaces as a symlink to ../../run/network/dynamic-interfaces
  and /run/network/dynamic-interfaces is populated by cloud-initramfs-dyn-netconf).

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: open-iscsi 2.0.873+git0.3b4b4500-14ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  ApportVersion: 2.20.1-0ubuntu1
  Architecture: amd64
  Date: Wed Apr 13 23:58:27 2016
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
  SourcePackage: open-iscsi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1570142/+subscriptions



More information about the foundations-bugs mailing list