[Bug 1047722] Re: configure_networking net-DEVICE.conf in /run, but ipconfig writes in /tmp

Scott Moser smoser at ubuntu.com
Tue Sep 18 02:01:30 UTC 2012


I've added open-iscsi here.  The fix necessary there is in
debian/extra/initramfs.local-top.  This was looking in /tmp, but if we
modify kblic to write to /run, we need to modify this script also.

** Also affects: open-iscsi (Ubuntu)
   Importance: Undecided
       Status: New

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

** Changed in: open-iscsi (Ubuntu)
   Importance: Undecided => Medium

** Changed in: open-iscsi (Ubuntu Precise)
       Status: New => Triaged

** Changed in: open-iscsi (Ubuntu Precise)
   Importance: Undecided => Medium

-- 
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 /run, but ipconfig writes in
  /tmp

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

Bug description:
  /usr/share/initramfs-tools/scripts/functions 's configure_networking
  says:

   # The NIC is to be configured if this file does not exist.
   # Ip-Config tries to create this file and when it succeds
   # creating the file, ipconfig is not run again.
   for x in /run/net-"${DEVICE}".conf /run/net-*.conf ; do
      [ -e "$x" ] && break 2
   done

  Ie, it is expecting /run/net-* to be written, but ipconfig in kblic-
  utils in precise is writing that file to /tmp.

  See:

   (initramfs) uname -r
   3.2.0-29-generic
   
   (initramfs) ipconfig ip=dhcp
   IP-Config: eth0 hardware address 52:54:00:12:34:01 mtu 1500 DHCP RARP
   IP-Config: eth0 complete (from 192.168.1.1):
    address: 192.168.1.8      broadcast: 192.168.1.255    netmask: 255.255.255.0
    gateway: 192.168.1.1      dns0     : 10.55.63.48      dns1   : 0.0.0.0
    rootserver: 192.168.1.1 rootpath:
    filename  : pxelinux.0

   (initramfs) cat /tmp/net-eth0.conf
   DEVICE='eth0'
   IPV4ADDR='192.168.1.8'
   IPV4BROADCAST='192.168.1.255'
   IPV4NETMASK='255.255.255.0'
   IPV4GATEWAY='192.168.1.1'
   IPV4DNS0='10.55.63.48'
   IPV4DNS1='0.0.0.0'
   HOSTNAME=''
   DNSDOMAIN=''
   NISDOMAIN=''
   ROOTSERVER='192.168.1.1'
   ROOTPATH=''
   filename='pxelinux.0'

  
  The bug report was collected on quantal, but the above is from precise.  Per slangasek:

   |  fixed in quantal; seems klibc-utils and initramfs-tools were out of 
   | sync on this in precise

  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/klibc/+bug/1047722/+subscriptions




More information about the foundations-bugs mailing list