I tested netplan.io 0.103-0ubuntu5~20.04.5 from focal-proposed and attached the official autopkgtest logs, all passed.
root@ff:~# dpkg -l | grep netplan ii libnetplan0:amd64 0.103-0ubuntu5~20.04.5 ii netplan.io 0.103-0ubuntu5~20.04.5
root@ff:~# ./netplan-dbus-perculiar2.sh method return time=1638878208.426246 sender=:1.19 -> destination=:1.26 serial=15 reply_serial=2 boolean true method return time=1638878208.938657 sender=:1.19 -> destination=:1.27 serial=17 reply_serial=2 boolean true method return time=1638878209.981659 sender=:1.19 -> destination=:1.30 serial=20 reply_serial=2 boolean true root@ff:~# root@ff:~# root@ff:~# root@ff:~# ./repro.sh === Case 1 === br54: OK (br45 exists) === Case 2 === network: bridges: br54: dhcp4: true ethernets: eth0: dhcp4: true version: 2 rm: cannot remove '/etc/netplan/90-hint.yaml': No such file or directory OK (file already gone) === Case 3 === br54: OK (br45 exists) === Case 4 === network: bridges: br54: dhcp4: true ethernets: eth0: dhcp4: true version: 2 rm: cannot remove '/etc/netplan/90-hint.yaml': No such file or directory OK (file already gone) === Case 5 === br54: OK (br45 exists) === Case 6 === network: bridges: br54: dhcp4: true ethernets: eth0: dhcp4: true version: 2 rm: cannot remove '/etc/netplan/90-hint.yaml': No such file or directory OK (file already gone) === Case 7 === {} cat: '/etc/netplan/*.yaml': No such file or directory OK (all YAML gone) === Case 8 === network: bridges: br54: dhcp4: true ethernets: eth0: dhcp4: true version: 2 network: bridges: br54: dhcp4: true ethernets: eth0: dhcp4: true version: 2 rm: cannot remove '/etc/netplan/90-hint.yaml': No such file or directory OK 90-hint.yaml already gone === Case 9 === cat: /etc/netplan/00-not-exist.yaml: No such file or directory rm: cannot remove '/etc/netplan/00-not-exist.yaml': No such file or directory ./repro.sh: 57: OK file already gone: not found
=> No netplan CLI crash can be observed. All good.
I tested netplan.io 0.103-0ubuntu5~ 20.04.5 from focal-proposed and attached the official autopkgtest logs, all passed.
root@ff:~# dpkg -l | grep netplan 20.04.5 20.04.5
ii libnetplan0:amd64 0.103-0ubuntu5~
ii netplan.io 0.103-0ubuntu5~
root@ff:~# ./netplan- dbus-perculiar2 .sh .426246 sender=:1.19 -> destination=:1.26 serial=15 reply_serial=2 .938657 sender=:1.19 -> destination=:1.27 serial=17 reply_serial=2 .981659 sender=:1.19 -> destination=:1.30 serial=20 reply_serial=2 90-hint. yaml': No such file or directory 90-hint. yaml': No such file or directory 90-hint. yaml': No such file or directory *.yaml' : No such file or directory 90-hint. yaml': No such file or directory 00-not- exist.yaml: No such file or directory 00-not- exist.yaml' : No such file or directory
method return time=1638878208
boolean true
method return time=1638878208
boolean true
method return time=1638878209
boolean true
root@ff:~#
root@ff:~#
root@ff:~#
root@ff:~# ./repro.sh
=== Case 1 ===
br54:
OK (br45 exists)
=== Case 2 ===
network:
bridges:
br54:
dhcp4: true
ethernets:
eth0:
dhcp4: true
version: 2
rm: cannot remove '/etc/netplan/
OK (file already gone)
=== Case 3 ===
br54:
OK (br45 exists)
=== Case 4 ===
network:
bridges:
br54:
dhcp4: true
ethernets:
eth0:
dhcp4: true
version: 2
rm: cannot remove '/etc/netplan/
OK (file already gone)
=== Case 5 ===
br54:
OK (br45 exists)
=== Case 6 ===
network:
bridges:
br54:
dhcp4: true
ethernets:
eth0:
dhcp4: true
version: 2
rm: cannot remove '/etc/netplan/
OK (file already gone)
=== Case 7 ===
{}
cat: '/etc/netplan/
OK (all YAML gone)
=== Case 8 ===
network:
bridges:
br54:
dhcp4: true
ethernets:
eth0:
dhcp4: true
version: 2
network:
bridges:
br54:
dhcp4: true
ethernets:
eth0:
dhcp4: true
version: 2
rm: cannot remove '/etc/netplan/
OK 90-hint.yaml already gone
=== Case 9 ===
cat: /etc/netplan/
rm: cannot remove '/etc/netplan/
./repro.sh: 57: OK file already gone: not found
=> No netplan CLI crash can be observed. All good.