Activity log for bug #1047722

Date Who What changed Old value New value Message
2012-09-08 03:34:31 Scott Moser bug added bug
2012-09-08 03:35:27 Scott Moser affects initramfs-tools (Ubuntu) klibc (Ubuntu)
2012-09-08 03:36:32 Scott Moser klibc (Ubuntu): importance Undecided Medium
2012-09-08 03:36:32 Scott Moser klibc (Ubuntu): status New Fix Released
2012-09-08 03:36:43 Scott Moser nominated for series Ubuntu Precise
2012-09-08 03:36:43 Scott Moser bug task added klibc (Ubuntu Precise)
2012-09-08 03:37:01 Scott Moser klibc (Ubuntu Precise): status New Confirmed
2012-09-08 03:37:05 Scott Moser klibc (Ubuntu Precise): importance Undecided Medium
2012-09-18 01:59:29 Scott Moser bug task added open-iscsi (Ubuntu)
2012-09-18 02:00:36 Scott Moser open-iscsi (Ubuntu): status New Fix Released
2012-09-18 02:00:39 Scott Moser open-iscsi (Ubuntu): importance Undecided Medium
2012-09-18 02:00:42 Scott Moser open-iscsi (Ubuntu Precise): status New Triaged
2012-09-18 02:00:49 Scott Moser open-iscsi (Ubuntu Precise): importance Undecided Medium
2012-09-25 16:30:45 Scott Moser bug task added initramfs-tools (Ubuntu)
2012-10-11 15:53:11 Scott Moser summary configure_networking net-DEVICE.conf in /run, but ipconfig writes in /tmp configure_networking net-DEVICE.conf in /tmp, but upstart job expects /run
2012-10-11 15:53:17 Scott Moser bug task deleted initramfs-tools (Ubuntu)
2012-10-11 15:53:24 Scott Moser bug task deleted klibc (Ubuntu)
2012-10-11 15:53:33 Scott Moser bug task deleted initramfs-tools (Ubuntu Precise)
2012-10-11 15:53:41 Scott Moser bug task deleted klibc (Ubuntu Precise)
2012-10-11 15:57:20 Scott Moser 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) 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)
2013-01-30 20:58:36 Launchpad Janitor branch linked lp:~smoser/ubuntu/precise/open-iscsi/maas-ephemeral
2013-01-30 22:09:17 Scott Moser 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) === 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)
2013-02-28 19:14:23 Brian Murray open-iscsi (Ubuntu Precise): status Triaged Fix Committed
2013-02-28 19:14:25 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2013-02-28 19:14:30 Brian Murray bug added subscriber SRU Verification
2013-02-28 19:14:33 Brian Murray tags amd64 apport-bug ec2-images quantal amd64 apport-bug ec2-images quantal verification-needed
2013-02-28 19:44:34 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/open-iscsi
2013-03-08 18:40:10 Scott Moser tags amd64 apport-bug ec2-images quantal verification-needed amd64 apport-bug ec2-images quantal verification-done
2013-06-06 04:18:05 Launchpad Janitor open-iscsi (Ubuntu Precise): status Fix Committed Fix Released
2013-06-06 04:18:11 Adam Conrad removed subscriber Ubuntu Stable Release Updates Team