Hm, what is super mysterious is that AFAICT from reading
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/netplan.io/0.104-0ubuntu2~20.04.1/netplan.io_0.104-0ubuntu2~20.04.1.dsc
there is nothing in `method_apply()` code path that could trigger this.
I only see that `sd_bus_error_setf()` is called or `return
sd_bus_reply_method_return(m, "b", true);`.
However there is a line in "_try_accept" that says:
/* ATTENTION: There might be a race here:
* When this accept/reject method is called at the same time as the
'netplan try'
* python process is reverting and closing itself. Not sure what to do
about it...
* Maybe this needs to be fixed in python code, so that the
* 'netplan.terminal.InputRejected' exception (i.e. self-revert) cannot be
* interrupted by another exception/signal */
But could be a red-herring as it would not explain getting "false", I
would expect some sort of dbus error if this happens. Fwiw on the Pi4
and on real amd64 devices this is not happening which would indicate
some sort of race.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967084
Title:
netplan dbus returns "false" in io.netplan.Netplan.Config.Set
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1967084/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs