org.gnome.SessionManager.Reboot fails when used with gnome-software
Submitted by Mario Limonciello
Some software that is installed via GNOME Software (such as FW updates) requires a reboot for installation.
GNOME software helpfully uses the D-Bus API org.gnome.SessionManager.Reboot to perform this action: https://git.gnome.org/browse/gnome-software/tree/src/gs-updates-page.c#n727
It's been reported however that this isn't working and calling the API fails: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1719797
Here is the relevant snippet from when it's failed:
Oct 22 14:47:34 travers gnome-software: Calling org.gnome.SessionManager.Reboot failed: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code19: Operation was cancelled