2016-09-22 15:35:58 |
Federico Gimenez |
bug |
|
|
added bug |
2016-09-22 15:37:37 |
Federico Gimenez |
bug task added |
|
snappy |
|
2016-09-22 23:33:22 |
Michael Hudson-Doyle |
bug task added |
|
netplan |
|
2016-10-20 00:23:24 |
Michael Hudson-Doyle |
subiquity (Ubuntu): importance |
Undecided |
Critical |
|
2016-10-20 12:19:53 |
Martin Pitt |
netplan: status |
New |
In Progress |
|
2016-10-20 12:19:53 |
Martin Pitt |
netplan: assignee |
|
Martin Pitt (pitti) |
|
2016-10-20 12:20:39 |
Martin Pitt |
bug task added |
|
nplan (Ubuntu) |
|
2016-10-20 12:20:48 |
Martin Pitt |
nominated for series |
|
Ubuntu Xenial |
|
2016-10-20 12:20:48 |
Martin Pitt |
bug task added |
|
subiquity (Ubuntu Xenial) |
|
2016-10-20 12:20:48 |
Martin Pitt |
bug task added |
|
nplan (Ubuntu Xenial) |
|
2016-10-20 12:20:54 |
Martin Pitt |
nplan (Ubuntu): status |
New |
In Progress |
|
2016-10-20 12:20:56 |
Martin Pitt |
nplan (Ubuntu): assignee |
|
Martin Pitt (pitti) |
|
2016-10-20 14:20:45 |
Martin Pitt |
netplan: status |
In Progress |
Fix Released |
|
2016-10-20 14:20:54 |
Martin Pitt |
nplan (Ubuntu): status |
In Progress |
Fix Committed |
|
2016-10-20 14:56:34 |
Martin Pitt |
nplan (Ubuntu Xenial): status |
New |
In Progress |
|
2016-10-20 15:13:36 |
Andy Whitcroft |
nplan (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-10-20 15:13:39 |
Andy Whitcroft |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-10-20 15:13:42 |
Andy Whitcroft |
bug |
|
|
added subscriber SRU Verification |
2016-10-20 15:13:46 |
Andy Whitcroft |
tags |
|
verification-needed |
|
2016-10-21 06:00:46 |
Steve Langasek |
subiquity (Ubuntu): status |
New |
Fix Released |
|
2016-10-21 07:13:54 |
Launchpad Janitor |
nplan (Ubuntu): status |
Fix Committed |
Fix Released |
|
2016-10-25 05:35:01 |
Simon Fels |
tags |
verification-needed |
plano-acan verification-needed |
|
2016-10-27 11:34:09 |
Federico Gimenez |
tags |
plano-acan verification-needed |
plano-acan verification-done |
|
2016-11-01 05:30:01 |
Martin Pitt |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2016-11-01 05:30:56 |
Launchpad Janitor |
nplan (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-06-07 22:26:21 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Yakkety |
|
2017-06-07 22:26:21 |
Mathieu Trudel-Lapierre |
bug task added |
|
subiquity (Ubuntu Yakkety) |
|
2017-06-07 22:26:21 |
Mathieu Trudel-Lapierre |
bug task added |
|
nplan (Ubuntu Yakkety) |
|
2017-06-07 22:31:30 |
Mathieu Trudel-Lapierre |
description |
There's no way to setup DNS info for static IP configuration, which leads to broken name resolution:
fgimenez@localhost:~$ cat /etc/netplan/00-snapd-config.yaml
# This is the network config written by 'console-conf'
network:
ethernets:
enxb827ebd3f20f:
addresses: [192.168.0.200/24]
version: 2
fgimenez@localhost:~$ ping www.ubuntu.com
ping: unknown host www.ubuntu.com
fgimenez@localhost:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
Selecting DHCP config from console-conf all works fine:
fgimenez@localhost:~$ cat /etc/netplan/00-snapd-config.yaml
# This is the network config written by 'console-conf'
network:
ethernets:
enxb827ebd3f20f:
addresses: []
dhcp4: true
version: 2
fgimenez@localhost:~$ ping www.ubuntu.com
PING www.ubuntu.com (91.189.90.59) 56(84) bytes of data.
64 bytes from www.ubuntu.com (91.189.90.59): icmp_seq=1 ttl=51 time=34.0 ms
64 bytes from www.ubuntu.com (91.189.90.59): icmp_seq=2 ttl=51 time=39.4 ms
64 bytes from www.ubuntu.com (91.189.90.59): icmp_seq=3 ttl=51 time=37.0 ms
^C
--- www.ubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 34.066/36.882/39.496/2.221 ms
fgimenez@localhost:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.0.1 |
[Impact]
subiquity and other nplan users may need to include DNS information when setting up a system.
[Test case]
1) set up a system with a netplan configuration including the nameserver: key for an interface, such as the following:
network:
ethernets:
enxb827ebd3f20f:
addresses: [192.168.0.200/24]
nameservers: 192.168.0.10
version: 2
Verify that the nameserver settings are properly installed to the system (see /etc/resolv.conf or /run/systemd/resolve/resolv.conf)
[Regression potential]
Existing configurations that do not include nameserver configs should continue to work as-is; without nameserver data if using static addresses, or with the nameserver data retrieved from DHCP.
[Original bug report]
There's no way to setup DNS info for static IP configuration, which leads to broken name resolution:
fgimenez@localhost:~$ cat /etc/netplan/00-snapd-config.yaml
# This is the network config written by 'console-conf'
network:
ethernets:
enxb827ebd3f20f:
addresses: [192.168.0.200/24]
version: 2
fgimenez@localhost:~$ ping www.ubuntu.com
ping: unknown host www.ubuntu.com
fgimenez@localhost:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
Selecting DHCP config from console-conf all works fine:
fgimenez@localhost:~$ cat /etc/netplan/00-snapd-config.yaml
# This is the network config written by 'console-conf'
network:
ethernets:
enxb827ebd3f20f:
addresses: []
dhcp4: true
version: 2
fgimenez@localhost:~$ ping www.ubuntu.com
PING www.ubuntu.com (91.189.90.59) 56(84) bytes of data.
64 bytes from www.ubuntu.com (91.189.90.59): icmp_seq=1 ttl=51 time=34.0 ms
64 bytes from www.ubuntu.com (91.189.90.59): icmp_seq=2 ttl=51 time=39.4 ms
64 bytes from www.ubuntu.com (91.189.90.59): icmp_seq=3 ttl=51 time=37.0 ms
^C
--- www.ubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 34.066/36.882/39.496/2.221 ms
fgimenez@localhost:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.0.1 |
|
2017-06-13 18:30:26 |
Brian Murray |
nplan (Ubuntu Yakkety): status |
New |
Fix Committed |
|
2017-06-13 18:30:29 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-06-13 18:30:36 |
Brian Murray |
tags |
plano-acan verification-done |
plano-acan |
|
2017-06-13 18:30:38 |
Brian Murray |
tags |
plano-acan |
plano-acan verification-needed |
|
2017-06-13 19:22:25 |
Steve Langasek |
subiquity (Ubuntu Xenial): status |
New |
Won't Fix |
|
2017-06-13 19:22:28 |
Steve Langasek |
subiquity (Ubuntu Yakkety): status |
New |
Won't Fix |
|
2017-06-19 18:16:23 |
Mathieu Trudel-Lapierre |
tags |
plano-acan verification-needed |
plano-acan verification-done-yakkety |
|
2017-06-27 15:46:26 |
Launchpad Janitor |
nplan (Ubuntu Yakkety): status |
Fix Committed |
Fix Released |
|
2019-08-22 11:44:40 |
John Lenton |
bug task deleted |
snappy |
|
|