Hello Brian, thank you for accepting it into focal-proposed. I tested networkd- dispatcher 2.1-2~ubuntu20.04.1 and can confirm the bug is fixed:
# dpkg -l | grep systemd ii systemd 245.4-4ubuntu3.7 # networkctl status eth0 ● 258: eth0 Link File: /usr/lib/systemd/network/99-default.link Network File: /run/systemd/network/10-netplan-eth0.network Type: ether State: routable (configured) Driver: veth HW Address: 00:16:3e:0b:d7:74 (Xensource, Inc.) MTU: 1500 (min: 68, max: 65535) Queue Length (Tx/Rx): 1/1 Auto negotiation: no Speed: 10Gbps Duplex: full Port: tp Address: 10.238.94.146 (DHCP4) fd42:7213:f20e:bd74:216:3eff:fe0b:d774 fe80::216:3eff:fe0b:d774 Gateway: 10.238.94.1 (Xensource, Inc.) fe80::216:3eff:fe0f:ee29 (Xensource, Inc.) DNS: 10.238.94.1 fd42:7213:f20e:bd74::1 fe80::216:3eff:fe0f:ee29 Search Domains: lxd Activation Policy: up # cat /etc/networkd-dispatcher/routable.d/00run.sh #!/bin/bash env > /tmp/out.log # chmod +x /etc/networkd-dispatcher/routable.d/00run.sh # networkd-dispatcher --run-startup-triggers # grep "\"Address\"" /tmp/out.log json={"Activation Policy": ["up"], "Address": ["10.238.94.146", "fd42:7213:f20e:bd74:216:3eff:fe0b:d774", "fe80::216:3eff:fe0b:d774"], "AdministrativeState": "configured", "Auto negotiation": ["no"], "DNS": ["10.238.94.1", "fd42:7213:f20e:bd74::1", "fe80::216:3eff:fe0f:ee29"], "Driver": ["veth"], "Duplex": ["full"], "Gateway": ["10.238.94.1 (Xensource, Inc.)", "fe80::216:3eff:fe0f:ee29 (Xensource, Inc.)"], "HW Address": ["00:16:3e:0b:d7:74 (Xensource, Inc.)"], "InterfaceName": "eth0", "Jul 15 07:20:21 ff systemd-networkd[86]": ["eth0: IPv6 successfully enabled", "eth0: DHCPv4 address 10.238.94.146/24 via 10.238.94.1"], "Jul 15 07:20:22 ff systemd-networkd[86]": ["eth0: Gained IPv6LL"], "Link File": ["/usr/lib/systemd/network/99-default.link"], "MTU": ["1500 (min: 68, max: 65535)"], "Network File": ["/run/systemd/network/10-netplan-eth0.network"], "OperationalState": "routable", "Port": ["tp"], "Queue Length (Tx/Rx)": ["1/1"], "Search Domains": ["lxd"], "Speed": ["10Gbps"], "State": "routable (configured)", "Type": "ether"} As we can see Address is just "10.238.94.146" without any "(DHCP4)" suffix. ** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1884248 Title: [SRU] networkd-dispatcher gives corrupted information To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/networkd-dispatcher/+bug/1884248/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs