Comment 32 for bug 1922898

Revision history for this message
Lukas Märdian (slyon) wrote :

Thank you very much Brian, for quickly accepting the regression fix into focal-proposed!

I verified the Focal SRU (for 0.102-0ubuntu1~20.04.2) and attached the corresponding test logs to the bug description.

Furthermore, I've verified the regression case, where libnetplan0 v0.102 is used with the netplan.io "generate" binary v0.101, which also passes (i.e. does not crash anymore):

root@ff:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.102-0ubuntu1~20.04.2 amd64
ii netplan.io 0.101-0ubuntu3~20.04.2 amd64
root@ff:~# cat /etc/netplan/00-config.yaml
network:
    ethernets:
        ens5:
            dhcp4: true
            dhcp6: false
            match:
                macaddress: 06:f8:32:e5:34:28
            set-name: ens5
    version: 2
root@ff:~# /usr/lib/netplan/generate
root@ff:~# echo $?
0

As you can see the "generate" binary does not crash with "Segmentation fault (core dumped)" anymore when using libnetplan0 0.102-0ubuntu1~20.04.2