After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789574 - org.gnome.SessionManager.Reboot fails when used with gnome-software
org.gnome.SessionManager.Reboot fails when used with gnome-software
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-10-27 21:29 UTC by Mario Limonciello
Modified: 2018-01-24 17:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mario Limonciello 2017-10-27 21:29:07 UTC
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[4104]: Calling org.gnome.SessionManager.Reboot failed: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code19: Operation was cancelled
Comment 1 Ray Strode [halfline] 2017-10-30 14:17:00 UTC
sounds like a gnome-software bug (it's cancelling it's cancellable?)
Comment 2 Richard Hughes 2017-12-05 11:35:26 UTC
> it's cancelling it's cancellable

But the GCancellable is NULL, no?
Comment 3 Ray Strode [halfline] 2017-12-05 15:06:53 UTC
of that's the case then probably a gnome-shell or gnome-session bug indeed.
Comment 4 GNOME Infrastructure Team 2018-01-24 17:51:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/253.