[Bug 1047722] Re: configure_networking net-DEVICE.conf in /tmp, but upstart job expects /run

Launchpad Bug Tracker 1047722 at bugs.launchpad.net
Thu Jun 6 04:18:05 UTC 2013


This bug was fixed in the package open-iscsi - 2.0.871-0ubuntu9.12.04.2

---------------
open-iscsi (2.0.871-0ubuntu9.12.04.2) precise-proposed; urgency=low

  * update resolvconf with settings found by ipconfig for the
    interface that contains the iscsi-root filesystem (LP: #1050487)
  * support files written by klibc ipconfig to be found in /tmp or
    /run. copy files in /tmp to /run (LP: #1047722)
 -- Scott Moser <smoser at ubuntu.com>   Mon, 17 Sep 2012 16:44:24 -0400

** Changed in: open-iscsi (Ubuntu Precise)
       Status: Fix Committed => Fix Released

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

Title:
  configure_networking net-DEVICE.conf in /tmp, but upstart job expects
  /run

Status in “open-iscsi” package in Ubuntu:
  Fix Released
Status in “open-iscsi” source package in Precise:
  Fix Released

Bug description:
  === Begin SRU Information ===
  [Impact]
  Open-iscsi's /etc/init/iscsi-network-interface job expects that
  the 'ipconfig' code in the client writes a file named /run/${DEVICE}.conf

  The klibc in 12.04 writes that file to /tmp.  This is simply a verison
  and expectation mismatch between klibc and open-iscsi in 12.04.

  It can result in the network interface upon which the iscsi target
  resides being brought down, as /etc/init/iscsi-network-interface no
  longer functions correctly.

  With a network block-device under your root filesystem, bringing
  down the network is not good.

  The fix here is done in the initramfs and should be forwards compatible.
  If a file has been written named /tmp/net-DEVICE.conf and a file
  has *not* been written /run/net-device.conf, then it will be copyied from
  /tmp to /run.  That will later be picked up by iscsi-network-interface.conf
  which will then function correctly.

  [Test Case]
  its easy to see that if the net-DEVICE.conf file is not written in
  /run, then the code in /etc/init/iscsi-network-interface will not have
  the desired affect.

  [Regression Potential]
  There should not be much chance for regression here.  Likely, fallout
  would be limited to iscsi root instances.

  [Other Info]
  The maas "ephemeral images" have been using this patch for several
  months, and the changes are the same as applied in quantal.
  === End SRU Information ===

  This bug was initially opened with misunderstanding.
  The issue present is that open-iscsi's upstart job expects ipconfig files to be in /run, but they are written by ipconfig in precise to /tmp.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: initramfs-tools 0.103ubuntu0.1
  ProcVersionSignature: User Name 3.5.0-13.14-generic 3.5.3
  Uname: Linux 3.5.0-13-generic x86_64
  ApportVersion: 2.5.1-0ubuntu7
  Architecture: amd64
  Date: Sat Sep  8 03:28:37 2012
  Ec2AMI: ami-00000148
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: initramfs-tools
  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/1047722/+subscriptions




More information about the foundations-bugs mailing list