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

Brian Murray brian at ubuntu.com
Thu Feb 28 19:14:35 UTC 2013


Hello Scott, or anyone else affected,

Accepted open-iscsi into precise-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/open-
iscsi/2.0.871-0ubuntu9.12.04.2 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: open-iscsi (Ubuntu Precise)
       Status: Triaged => Fix Committed

** Tags added: verification-needed

-- 
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 Committed

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