I'm a recent upgrader from bionic to focal thanks to a new System76 laptop that came with 20.04 pre-installed. I've been moving my netplan/dnsmasq configuration over to the new laptop and ran into this bug (I use a networkd-dispatcher script to pass DNS to dnsmasq via openresolv). I added a temporary script to save the entire environment to file. This is what I get:
I'm a recent upgrader from bionic to focal thanks to a new System76 laptop that came with 20.04 pre-installed. I've been moving my netplan/dnsmasq configuration over to the new laptop and ran into this bug (I use a networkd-dispatcher script to pass DNS to dnsmasq via openresolv). I added a temporary script to save the entire environment to file. This is what I get:
ADDR= tate=configurin g checkwinsize: cmdhist: complete_ fullquote: extquote: force_fignore: globasciiranges :hostcomplete: interactive_ comments: progcomp: promptvars: sourcepath ([0]="0" ) ([0]="/ etc/networkd- dispatcher/ routable. d/03-env. sh") ([0]="5" [1]="0" [2]="17" [3]="1" [4]="release" [5]="x86_ 64-pc-linux- gnu") '5.0.17( 1)-release' ID=1218902d4913 4c42b318bb8557f 2f3d3 STREAM= 9:31399 x86_64- pc-linux- gnu SOCKET= /run/systemd/ notify e=routable local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/snap/ bin braceexpand: hashall: interactive- comments "Administrative State": "configuring", "Age": ["g Time: 5min", "iority: 32768", "STP: no"], "Aug 10 14:19:23": ["rthos systemd- networkd[ 8359]: br1: netdev ready", "rthos systemd- networkd[ 8359]: br1: Gained IPv6LL", "rthos systemd- networkd[ 8359]: br1: netdev exists, using existing without changing its parameters", "rthos systemd- networkd[ 8359]: br1: IPv6 successfully enabled"], "Aug 10 14:20:27": ["rthos systemd- networkd[ 8692]: br1: netdev ready", "rthos systemd- networkd[ 8692]: br1: Gained IPv6LL", "rthos systemd- networkd[ 8692]: br1: netdev exists, using existing without changing its parameters", "rthos systemd- networkd[ 8692]: br1: IPv6 successfully enabled"], "Aug 10 14:20:30": ["rthos systemd- networkd[ 8692]: br1: Gained carrier"], "Aug 10 14:21:05": ["rthos systemd- networkd[ 8692]: br1: DHCPv4 address 192.168.19.160/24 via 192.168.19.1"], "Forwa": ["Delay: 15s"], "HW": ["ddress: 00:30:93:12:08:d9 (Sonnet Technologies, Inc)", "MTU: 1500 (min: 68, max: 65535)"], "He": ["o Time: 2s", "ax Age: 20s"], "InterfaceName": "br1", "L": ["k File: n/a"], "Multicast IGMP": ["ersion: 2"], "Netw": ["k File: /run/systemd/ network/ 10-netplan- br1.network" , "Type: bridge", "State: routable (configured)", "Driver: bridge"], "OperationalState": "routable", "Queue Length": ["Tx/Rx): 1/1", "ddress: 192.168.19.160 (DHCP4)", "fe80:: b0cd:9aff: fe37:c785" , "ateway: 192.168.19.1", "DNS: 192.168.19.1", "NTP: 192.168.19.1", ""], "State": "routable (configuring)", "Type": "bridge"}' dispatcher_ args=-- run-startup- triggers
AdministrativeS
BASH=/bin/bash
BASHOPTS=
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=
BASH_SOURCE=
BASH_VERSINFO=
BASH_VERSION=
DIRSTACK=()
ESSID=
EUID=0
GROUPS=()
HOSTNAME=porthos
HOSTTYPE=x86_64
IFACE=br1
IFS=$' \t\n'
INVOCATION_
IP6_ADDRS=
IP_ADDRS=
JOURNAL_
LANG=en_US.UTF-8
MACHTYPE=
NOTIFY_
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
OperationalStat
PATH=/usr/
PPID=1184
PS4='+ '
PWD=/
SHELL=/bin/bash
SHELLOPTS=
SHLVL=1
STATE=routable
TERM=dumb
UID=0
_=/bin/bash
json='{
networkd_