Activity log for bug #1004108

Date Who What changed Old value New value Message
2012-05-24 18:41:25 Stéphane Graber bug added bug
2012-05-24 18:41:34 Stéphane Graber nominated for series Ubuntu Precise
2012-05-24 18:41:34 Stéphane Graber bug task added lxc (Ubuntu Precise)
2012-05-24 18:41:40 Stéphane Graber lxc (Ubuntu): status New Fix Released
2012-05-24 18:41:43 Stéphane Graber lxc (Ubuntu Precise): status New In Progress
2012-05-24 18:41:45 Stéphane Graber lxc (Ubuntu Precise): assignee Stéphane Graber (stgraber)
2012-05-24 18:42:59 Stéphane Graber description The /etc/hosts file created by the lxc-ubuntu template is missing some of the usual entries. A standard /etc/hosts should look like this: 127.0.0.1 localhost 127.0.1.1 castiana castiana.lan.sherb.stgraber.net # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters But a standard /etc/hosts generated by LXC looks like: 127.0.0.1 localhost quantal The /etc/hosts file created by the lxc-ubuntu template is missing some of the usual entries. A standard /etc/hosts should look like this: 127.0.0.1 localhost 127.0.1.1 castiana castiana.lan.sherb.stgraber.net # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters But a standard /etc/hosts generated by LXC looks like: 127.0.0.1 localhost quantal Testcase: 1) sudo rm -Rf /var/cache/lxc/precise 2) sudo lxc-create -n p1 -t ubuntu 3) cat /var/lib/lxc/p1/rootfs/etc/hosts Here, 3) should list a standard /etc/hosts with both a 127.0.0.1 and 127.0.1.1 entry and the usual ip6- aliases
2012-05-24 19:27:35 Stéphane Graber summary /etc/hosts in conainer is missing the usual aliases /etc/hosts in container is missing the usual aliases
2012-05-24 21:01:21 Stéphane Graber lxc (Ubuntu Precise): status In Progress Fix Committed
2012-05-24 21:02:10 Stéphane Graber nominated for series Ubuntu Quantal
2012-05-24 21:02:10 Stéphane Graber bug task added lxc (Ubuntu Quantal)
2012-05-24 21:02:17 Stéphane Graber bug task deleted lxc (Ubuntu)
2012-05-24 21:02:27 Stéphane Graber lxc (Ubuntu Quantal): assignee Stéphane Graber (stgraber)
2012-05-29 20:37:30 Stéphane Graber description The /etc/hosts file created by the lxc-ubuntu template is missing some of the usual entries. A standard /etc/hosts should look like this: 127.0.0.1 localhost 127.0.1.1 castiana castiana.lan.sherb.stgraber.net # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters But a standard /etc/hosts generated by LXC looks like: 127.0.0.1 localhost quantal Testcase: 1) sudo rm -Rf /var/cache/lxc/precise 2) sudo lxc-create -n p1 -t ubuntu 3) cat /var/lib/lxc/p1/rootfs/etc/hosts Here, 3) should list a standard /etc/hosts with both a 127.0.0.1 and 127.0.1.1 entry and the usual ip6- aliases The /etc/hosts file created by the lxc-ubuntu template is missing some of the usual entries. A standard /etc/hosts should look like this: 127.0.0.1 localhost 127.0.1.1 castiana castiana.lan.sherb.stgraber.net # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters But a standard /etc/hosts generated by LXC looks like: 127.0.0.1 localhost quantal ---- [impact] Non standard /etc/hosts makes services using the ip6- aliases fail to work entirely, the non-standard 127.0.0.1/127.0.1.1 setup was actually causing behaviour changes for the hostname command among others. [development fix] The SRU is a copy of the template from development [stable fix] The SRU is a copy of the template from development [test case] Testcase: 1) sudo rm -Rf /var/cache/lxc/precise 2) sudo lxc-create -n p1 -t ubuntu 3) cat /var/lib/lxc/p1/rootfs/etc/hosts Here, 3) should list a standard /etc/hosts with both a 127.0.0.1 and 127.0.1.1 entry and the usual ip6- aliases [regression potential] The SRU just adds the missing text to /etc/hosts, only potential regression is if something was specifically depending on the broken format and that'd be bug.
2012-05-29 20:45:45 Stéphane Graber description The /etc/hosts file created by the lxc-ubuntu template is missing some of the usual entries. A standard /etc/hosts should look like this: 127.0.0.1 localhost 127.0.1.1 castiana castiana.lan.sherb.stgraber.net # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters But a standard /etc/hosts generated by LXC looks like: 127.0.0.1 localhost quantal ---- [impact] Non standard /etc/hosts makes services using the ip6- aliases fail to work entirely, the non-standard 127.0.0.1/127.0.1.1 setup was actually causing behaviour changes for the hostname command among others. [development fix] The SRU is a copy of the template from development [stable fix] The SRU is a copy of the template from development [test case] Testcase: 1) sudo rm -Rf /var/cache/lxc/precise 2) sudo lxc-create -n p1 -t ubuntu 3) cat /var/lib/lxc/p1/rootfs/etc/hosts Here, 3) should list a standard /etc/hosts with both a 127.0.0.1 and 127.0.1.1 entry and the usual ip6- aliases [regression potential] The SRU just adds the missing text to /etc/hosts, only potential regression is if something was specifically depending on the broken format and that'd be bug. The /etc/hosts file created by the lxc-ubuntu template is missing some of the usual entries. A standard /etc/hosts should look like this: 127.0.0.1 localhost 127.0.1.1 castiana castiana.lan.sherb.stgraber.net # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters But a standard /etc/hosts generated by LXC looks like: 127.0.0.1 localhost quantal ---- [impact] Non standard /etc/hosts makes services using the ip6- aliases fail to work entirely, the non-standard 127.0.0.1/127.0.1.1 setup was actually causing behaviour changes for the hostname command among others. [test case] Testcase: 1) sudo rm -Rf /var/cache/lxc/precise 2) sudo lxc-create -n p1 -t ubuntu 3) cat /var/lib/lxc/p1/rootfs/etc/hosts Here, 3) should list a standard /etc/hosts with both a 127.0.0.1 and 127.0.1.1 entry and the usual ip6- aliases [regression potential] The SRU just adds the missing text to /etc/hosts, only potential regression is if something was specifically depending on the broken format and that'd be bug.
2012-05-31 23:16:51 Clint Byrum bug added subscriber Ubuntu Stable Release Updates Team
2012-05-31 23:16:53 Clint Byrum bug added subscriber SRU Verification
2012-05-31 23:17:00 Clint Byrum tags verification-needed
2012-05-31 23:43:35 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/lxc
2012-06-08 18:09:43 Stéphane Graber tags verification-needed verification-done
2012-06-11 15:30:32 Launchpad Janitor lxc (Ubuntu Precise): status Fix Committed Fix Released
2014-03-19 07:15:54 Haw Loeung bug added subscriber Haw Loeung