Activity log for bug #1614514

Date Who What changed Old value New value Message
2016-08-18 12:47:49 Malcolm Scott bug added bug
2016-08-18 15:08:12 Malcolm Scott attachment added autoconfig-ntp-typo.diff https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1614514/+attachment/4723526/+files/autoconfig-ntp-typo.diff
2016-08-18 16:32:26 Ubuntu Foundations Team Bug Bot tags patch
2016-08-18 16:32:34 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2016-08-18 17:51:39 Mathew Hodson tags patch patch xenial yakkety
2016-08-18 17:52:14 Mathew Hodson netcfg (Ubuntu): importance Undecided Medium
2016-11-23 22:29:58 Brian Murray tags patch xenial yakkety patch xenial yakkety zesty
2016-11-23 22:30:29 Brian Murray bug added subscriber Brian Murray
2016-11-23 22:30:41 Brian Murray removed subscriber Ubuntu Sponsors Team
2017-05-16 14:55:34 Malcolm Scott bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862745
2017-05-16 14:55:34 Malcolm Scott bug task added netcfg (Debian)
2017-05-16 16:07:26 Bug Watch Updater netcfg (Debian): status Unknown New
2017-05-17 15:29:08 Brian Murray bug task deleted debian
2017-05-17 17:18:21 Bug Watch Updater netcfg (Debian): status New Fix Released
2017-05-17 17:38:35 Brian Murray netcfg (Ubuntu): assignee Mathieu Trudel-Lapierre (cyphermox)
2017-05-17 17:38:45 Brian Murray tags patch xenial yakkety zesty patch rls-aa-incoming xenial yakkety zesty
2017-05-24 00:08:24 Mathieu Trudel-Lapierre nominated for series Ubuntu Zesty
2017-05-24 00:08:24 Mathieu Trudel-Lapierre bug task added netcfg (Ubuntu Zesty)
2017-05-24 00:08:24 Mathieu Trudel-Lapierre nominated for series Ubuntu Yakkety
2017-05-24 00:08:24 Mathieu Trudel-Lapierre bug task added netcfg (Ubuntu Yakkety)
2017-05-24 00:08:24 Mathieu Trudel-Lapierre nominated for series Ubuntu Xenial
2017-05-24 00:08:24 Mathieu Trudel-Lapierre bug task added netcfg (Ubuntu Xenial)
2017-06-07 17:25:30 Mathieu Trudel-Lapierre netcfg (Ubuntu): status New Fix Released
2017-06-09 00:16:45 Mathieu Trudel-Lapierre description When prompted for a hostname during installation, on my network the default offered is always our second NTP server's IPv6 address, which it received via stateless DHCPv6. netcfg seems to be using the wrong field as a hostname, in the absence of an explicit DHCP-provided hostname. Installation log excerpt: Aug 18 12:21:26 netcfg[13450]: DEBUG: IPv6 stateless autoconfig requested Aug 18 12:21:26 netcfg[13450]: DEBUG: nc_v6_interface_configured(eth0, scope global) Aug 18 12:21:26 netcfg[13450]: DEBUG: Running ip addr show eth0 to look for address Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000 Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: link/ether fa:ee:bd:a7:4c:0f brd ff:ff:ff:ff:ff:ff Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: inet6 2001:630:212:252:f8ee:bdff:fea7:4c0f/64 scope global dynamic Aug 18 12:21:26 netcfg[13450]: DEBUG: Configured address found Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: valid_lft 2592000sec preferred_lft 604800sec Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: inet6 fe80::f8ee:bdff:fea7:4c0f/64 scope link Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: valid_lft forever preferred_lft forever Aug 18 12:21:26 netcfg[13450]: DEBUG: Stateless DHCPv6 requested Aug 18 12:21:26 netcfg[13450]: WARNING **: Started DHCPv6 client; PID is 13497 Aug 18 12:21:26 dhclient[13497]: Created duid \000\003\000\001\372\356\275\247L\017. Aug 18 12:21:27 dhclient[13497]: XMT: Info-Request on eth0, interval 1080ms. Aug 18 12:21:27 dhclient[13497]: RCV: Reply message on eth0 from fe80::8a5a:92ff:fecd:8da7. Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: nameserver[0] 2001:630:212:200::d:0 Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: nameserver[1] 2001:630:212:200::d:1 Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: nameserver[2] 2001:630:212:200::d:2 Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: Domain search list[0] cl.cam.ac.uk. Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: NTP server[0] 2001:630:212:200::123:1a Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: NTP server[1] 2001:630:212:200::123:1b Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: NTP server[2] 2001:630:212:200::123:1c Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: end Aug 18 12:21:28 netcfg[13450]: DEBUG: Trying IPv4 autoconfig as well Aug 18 12:21:28 netcfg[13450]: WARNING **: Started DHCP client; PID is 13502 Aug 18 12:21:29 dhclient[13502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1 (xid=0xce07ab1b) Aug 18 12:21:30 dhclient[13502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1 (xid=0xce07ab1b) Aug 18 12:21:30 dhclient[13502]: DHCPREQUEST of 128.232.81.81 on eth0 to 255.255.255.255 port 67 (xid=0x1bab07ce) Aug 18 12:21:30 dhclient[13502]: DHCPOFFER of 128.232.81.81 from 128.232.80.7 Aug 18 12:21:30 dhclient[13502]: DHCPACK of 128.232.81.81 from 128.232.80.7 Aug 18 12:21:30 dhclient[13502]: bound to 128.232.81.81 -- renewal in 1780 seconds. Aug 18 12:21:32 netcfg[13450]: DEBUG: Reading NTP servers from DHCP info Aug 18 12:21:32 netcfg[13450]: DEBUG: Read NTP server 128.232.0.9 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read NTP server 128.232.0.8 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read NTP server 128.232.0.7 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read NTP server 128.232.96.152 Aug 18 12:21:32 netcfg[13450]: DEBUG: Reading nameservers from /etc/resolv.conf Aug 18 12:21:32 netcfg[13450]: DEBUG: Read nameserver 128.232.1.1 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read nameserver 128.232.1.2 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read nameserver 128.232.1.3 Aug 18 12:21:32 netcfg[13450]: DEBUG: State is now 1 Aug 18 12:21:32 netcfg[13450]: DEBUG: State is now 2 Aug 18 12:21:32 netcfg[13450]: DEBUG: State is now 5 Aug 18 12:21:32 netcfg[13450]: DEBUG: Defaulting hostname to provided DHCP hostname ...and then the installer prompts me for a hostname with a pre-filled default of "2001:630:212:200::123:1b". [Impact] IPv6 autoconfiguration installs badly records NTP server name. [Test case] Install Ubuntu (using d-i), in an IPv6 network. The DHCP server should provide NTP servers, but no hostname. Verify that the default offered for the hostname during install is a correct value, and is not the hostname of the NTP server provided from DHCP. [Regression Potential] If any existing location depends on this bad behavior, it would obviously regress. Also to consider are cases where there might be an incorrect recording of the NTP servers or DNS nameservers, DNS search list given the changed code path in this section of the netcfg code. Any incorrect parsing of a DHCPv6 response while autoconfiguring a system during installation would be a possible regression for this SRU. --- When prompted for a hostname during installation, on my network the default offered is always our second NTP server's IPv6 address, which it received via stateless DHCPv6. netcfg seems to be using the wrong field as a hostname, in the absence of an explicit DHCP-provided hostname. Installation log excerpt: Aug 18 12:21:26 netcfg[13450]: DEBUG: IPv6 stateless autoconfig requested Aug 18 12:21:26 netcfg[13450]: DEBUG: nc_v6_interface_configured(eth0, scope global) Aug 18 12:21:26 netcfg[13450]: DEBUG: Running ip addr show eth0 to look for address Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000 Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: link/ether fa:ee:bd:a7:4c:0f brd ff:ff:ff:ff:ff:ff Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: inet6 2001:630:212:252:f8ee:bdff:fea7:4c0f/64 scope global dynamic Aug 18 12:21:26 netcfg[13450]: DEBUG: Configured address found Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: valid_lft 2592000sec preferred_lft 604800sec Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: inet6 fe80::f8ee:bdff:fea7:4c0f/64 scope link Aug 18 12:21:26 netcfg[13450]: DEBUG: ip line: valid_lft forever preferred_lft forever Aug 18 12:21:26 netcfg[13450]: DEBUG: Stateless DHCPv6 requested Aug 18 12:21:26 netcfg[13450]: WARNING **: Started DHCPv6 client; PID is 13497 Aug 18 12:21:26 dhclient[13497]: Created duid \000\003\000\001\372\356\275\247L\017. Aug 18 12:21:27 dhclient[13497]: XMT: Info-Request on eth0, interval 1080ms. Aug 18 12:21:27 dhclient[13497]: RCV: Reply message on eth0 from fe80::8a5a:92ff:fecd:8da7. Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: nameserver[0] 2001:630:212:200::d:0 Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: nameserver[1] 2001:630:212:200::d:1 Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: nameserver[2] 2001:630:212:200::d:2 Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: Domain search list[0] cl.cam.ac.uk. Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: NTP server[0] 2001:630:212:200::123:1a Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: NTP server[1] 2001:630:212:200::123:1b Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: NTP server[2] 2001:630:212:200::123:1c Aug 18 12:21:28 netcfg[13450]: DEBUG: DHCPv6 line: end Aug 18 12:21:28 netcfg[13450]: DEBUG: Trying IPv4 autoconfig as well Aug 18 12:21:28 netcfg[13450]: WARNING **: Started DHCP client; PID is 13502 Aug 18 12:21:29 dhclient[13502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1 (xid=0xce07ab1b) Aug 18 12:21:30 dhclient[13502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1 (xid=0xce07ab1b) Aug 18 12:21:30 dhclient[13502]: DHCPREQUEST of 128.232.81.81 on eth0 to 255.255.255.255 port 67 (xid=0x1bab07ce) Aug 18 12:21:30 dhclient[13502]: DHCPOFFER of 128.232.81.81 from 128.232.80.7 Aug 18 12:21:30 dhclient[13502]: DHCPACK of 128.232.81.81 from 128.232.80.7 Aug 18 12:21:30 dhclient[13502]: bound to 128.232.81.81 -- renewal in 1780 seconds. Aug 18 12:21:32 netcfg[13450]: DEBUG: Reading NTP servers from DHCP info Aug 18 12:21:32 netcfg[13450]: DEBUG: Read NTP server 128.232.0.9 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read NTP server 128.232.0.8 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read NTP server 128.232.0.7 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read NTP server 128.232.96.152 Aug 18 12:21:32 netcfg[13450]: DEBUG: Reading nameservers from /etc/resolv.conf Aug 18 12:21:32 netcfg[13450]: DEBUG: Read nameserver 128.232.1.1 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read nameserver 128.232.1.2 Aug 18 12:21:32 netcfg[13450]: DEBUG: Read nameserver 128.232.1.3 Aug 18 12:21:32 netcfg[13450]: DEBUG: State is now 1 Aug 18 12:21:32 netcfg[13450]: DEBUG: State is now 2 Aug 18 12:21:32 netcfg[13450]: DEBUG: State is now 5 Aug 18 12:21:32 netcfg[13450]: DEBUG: Defaulting hostname to provided DHCP hostname ...and then the installer prompts me for a hostname with a pre-filled default of "2001:630:212:200::123:1b".
2017-06-15 23:22:08 Brian Murray netcfg (Ubuntu Zesty): status New Fix Committed
2017-06-15 23:22:10 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2017-06-15 23:22:12 Brian Murray bug added subscriber SRU Verification
2017-06-15 23:22:17 Brian Murray tags patch rls-aa-incoming xenial yakkety zesty patch rls-aa-incoming verification-needed xenial yakkety zesty
2017-06-15 23:25:24 Brian Murray netcfg (Ubuntu Yakkety): status New Fix Committed
2017-07-12 14:40:38 Robie Basak netcfg (Ubuntu Xenial): status New Fix Committed
2017-07-12 14:40:43 Robie Basak tags patch rls-aa-incoming verification-needed xenial yakkety zesty patch rls-aa-incoming verification-needed verification-needed-xenial xenial yakkety zesty
2017-07-22 01:16:01 Mathieu Trudel-Lapierre tags patch rls-aa-incoming verification-needed verification-needed-xenial xenial yakkety zesty patch rls-aa-incoming verification-done-xenial verification-needed xenial yakkety zesty
2017-07-26 20:47:22 Launchpad Janitor netcfg (Ubuntu Xenial): status Fix Committed Fix Released
2017-10-25 19:29:20 Ubuntu Foundations Team Bug Bot tags patch rls-aa-incoming verification-done-xenial verification-needed xenial yakkety zesty patch removal-candidate rls-aa-incoming verification-done-xenial verification-needed xenial yakkety zesty