Unfortunately I'm not successful so far, the above code for example fails with:
"""
+ dbus-send --system --print-reply --type=method_call --dest=io.netplan.Netplan /io/netplan/Netplan/config/RDMLC1 io.netplan.Netplan.Config.Apply
Error org.freedesktop.DBus.Error.Failed: netplan try failed: Child process killed by signal 10
"""
But if I increase the sleep things work just fine. So no luck so far with an easier reproducer.
Fwiw, I'm trying to find a reproducer via something like: io.netplan. Netplan /io/netplan/Netplan io.netplan. Netplan. Config| grep path|cut -f2 -d'"')
"""
path=$(dbus-send --system --print-reply --type=method_call --dest=
dbus-send --system --print-reply --type=method_call --dest= io.netplan. Netplan "$path" io.netplan. Netplan. Config. Set string: "network. bridges. br54.dhcp4= true" string: "90-snapd- conf" io.netplan. Netplan "$path" io.netplan. Netplan. Config. Try uint32:30 io.netplan. Netplan "$path" io.netplan. Netplan. Config. Apply
dbus-send --system --print-reply --type=method_call --dest=
sleep 0.1
dbus-send --system --print-reply --type=method_call --dest=
ip link | grep br54
"""
Unfortunately I'm not successful so far, the above code for example fails with: io.netplan. Netplan /io/netplan/ Netplan/ config/ RDMLC1 io.netplan. Netplan. Config. Apply .DBus.Error. Failed: netplan try failed: Child process killed by signal 10
"""
+ dbus-send --system --print-reply --type=method_call --dest=
Error org.freedesktop
"""
But if I increase the sleep things work just fine. So no luck so far with an easier reproducer.