I tested netplan.io 0.103-0ubuntu7.2 from impish-proposed and attached
the official autopkgtest logs, all passed.

root@ii:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.103-0ubuntu7.2
ii netplan.io 0.103-0ubuntu7.2


root@ii:~# ./netplan-dbus-perculiar2.sh 
method return time=1638359097.746850 sender=:1.19 -> destination=:1.20 serial=6 
reply_serial=2
   boolean true
method return time=1638359098.468015 sender=:1.19 -> destination=:1.21 serial=8 
reply_serial=2
   boolean true
method return time=1638359099.532484 sender=:1.19 -> destination=:1.24 
serial=11 reply_serial=2
   boolean true

root@ii:~# ./repro.sh 
=== Case 1 ===
    br54:
OK (br45 exists)
=== Case 2 ===
network:
  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:
  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:
  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:
  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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946957

Title:
  Unset of a subtree crashes with invalid (non existing) origin-hint

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1946957/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to