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

Scott Moser smoser at ubuntu.com
Thu Oct 11 15:55:05 UTC 2012


as far as I can see now, the only issue is that openiscsi's 'iscsi-network-interface.conf' upstart file
debian/open-iscsi.iscsi-network-interface.upstart

expects the file to be written in /run, but with klibc/ipconfig in
precise it is written to /tmp.


** Summary changed:

- configure_networking net-DEVICE.conf in /run, but ipconfig writes in /tmp
+ configure_networking net-DEVICE.conf in /tmp, but upstart job expects /run

** No longer affects: initramfs-tools (Ubuntu)

** No longer affects: klibc (Ubuntu)

** No longer affects: initramfs-tools (Ubuntu Precise)

** No longer affects: klibc (Ubuntu Precise)

** Description changed:

- /usr/share/initramfs-tools/scripts/functions 's configure_networking
- says:
+ 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.
  
-  # 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
+  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)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools 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:
  Triaged

Bug description:
  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