Hello Brian,

thank you for accepting it into hirsute-proposed. I tested networkd-
dispatcher 2.1-2~ubuntu21.04.1 and can confirm the bug is fixed:

# dpkg -l | grep systemd
ii  systemd                       247.3-3ubuntu3.1

# networkctl status eth0
● 149: eth0                                                                    
                     Link File: n/a
                  Network File: /run/systemd/network/10-netplan-eth0.network
                          Type: ether
                         State: routable (configured)
                    HW Address: 00:16:3e:5c:cd:0c (Xensource, Inc.)
                           MTU: 1500 (min: 68, max: 65535)
                         QDisc: noqueue
  IPv6 Address Generation Mode: eui64
          Queue Length (Tx/Rx): 1/1
              Auto negotiation: no
                         Speed: 10Gbps
                        Duplex: full
                          Port: tp
                       Address: 10.238.94.22 (DHCP4 via 10.238.94.1)
                                fd42:7213:f20e:bd74:216:3eff:fe5c:cd0c
                                fe80::216:3eff:fe5c:cd0c
                       Gateway: 10.238.94.1 (Xensource, Inc.)
                                fe80::216:3eff:fe0f:ee29 (Xensource, Inc.)
                           DNS: 10.238.94.1
                                fe80::216:3eff:fe0f:ee29
                Search Domains: lxd
             Activation Policy: up
               DHCP4 Client ID: 0:16:3e:5c:cd:c
             DHCP6 Client IAID: 0x31b8204f
             DHCP6 Client DUID: DUID-EN/Vendor:0000ab1178959fc6ef55425f0000

# 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

# cat /tmp/out.log | grep "\"Address\""
json={"Activation Policy": ["up"], "Address": ["10.238.94.22", 
"fd42:7213:f20e:bd74:216:3eff:fe5c:cd0c", "fe80::216:3eff:fe5c:cd0c"], 
"AdministrativeState": "configured", "Auto negotiation": ["no"], "DHCP4 Client 
ID": ["0:16:3e:5c:cd:c"], "DHCP6 Client DUID": 
["DUID-EN/Vendor:0000ab1178959fc6ef55425f0000"], "DHCP6 Client IAID": 
["0x31b8204f"], "DNS": ["10.238.94.1", "fe80::216:3eff:fe0f:ee29"], "Duplex": 
["full"], "Gateway": ["10.238.94.1 (Xensource, Inc.)", 
"fe80::216:3eff:fe0f:ee29 (Xensource, Inc.)"], "HW Address": 
["00:16:3e:5c:cd:0c (Xensource, Inc.)"], "IPv6 Address Generation Mode": 
["eui64"], "InterfaceName": "eth0", "Jul 14 07:02:23 hh systemd-networkd[82]": 
["eth0: DHCPv4 address 10.238.94.22/24 via 10.238.94.1"], "Jul 14 07:02:24 hh 
systemd-networkd[82]": ["eth0: Gained IPv6LL"], "Jul 14 07:03:10 hh 
systemd-networkd[1855]": ["eth0: Gained IPv6LL", "eth0: DHCPv4 address 
10.238.94.22/24 via 10.238.94.1"], "Jul 14 07:03:10 hh systemd-networkd[82]": 
["eth0: DHCPv6 lease lost"], "Link File": ["n/a"], "MTU": ["1500 (min: 68, max: 
65535)"], "Network File": ["/run/systemd/network/10-netplan-eth0.network"], 
"OperationalState": "routable", "Port": ["tp"], "QDisc": ["noqueue"], "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.22" without any "(DHCP4.*)" suffix.

** Tags removed: verification-needed-hirsute
** Tags added: verification-done-hirsute

** Changed in: networkd-dispatcher (Ubuntu Groovy)
       Status: Triaged => Won't Fix

-- 
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

Reply via email to