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 687804 - gnome-session responds to property getters before it's loaded
gnome-session responds to property getters before it's loaded
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
: 687805 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-11-06 20:48 UTC by Ray Strode [halfline]
Modified: 2012-11-06 21:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
main: initialize gsm-system before acquring name (7.47 KB, patch)
2012-11-06 20:48 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2012-11-06 20:48:45 UTC
gsm-systemd makes synchronous calls to logind.  These
calls invoke a main loop.  If we've already acquired a name
on the session bus when the main loop is running, then we'll
service that bus name too early.

This commit initializes gsm-system before acquiring a name to
avoid that clash.
Comment 1 Ray Strode [halfline] 2012-11-06 20:48:47 UTC
Created attachment 228308 [details] [review]
main: initialize gsm-system before acquring name
Comment 2 Ray Strode [halfline] 2012-11-06 20:49:24 UTC
Attachment 228308 [details] pushed as 5aff5ed - main: initialize gsm-system before acquring name
Comment 3 Ray Strode [halfline] 2012-11-06 21:01:48 UTC
*** Bug 687805 has been marked as a duplicate of this bug. ***