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 666783 - Optionally use systemd for session tracking
Optionally use systemd for session tracking
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks: systemd
 
 
Reported: 2011-12-24 01:13 UTC by Matthias Clasen
Modified: 2012-02-01 22:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (11.79 KB, patch)
2011-12-24 01:13 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2011-12-24 01:13:08 UTC
Created attachment 204157 [details] [review]
patch

ConsoleKit is being phased out on systemd-using systems.
Here is a patch that adds a NMSessionMonitor implmentation
that uses systemd api for session tracking.
Only compile-tested.
Comment 1 Matthias Clasen 2012-01-25 01:25:16 UTC
I've now investigated that the used sd_ apis appeared in systemd 31 or maybe 32.
I've also tested that the changed signal is actually triggered when switching to a different vt, so things seem to be working.
Comment 2 Dan Williams 2012-02-01 22:46:17 UTC
thanks, pushed with some cleanups so we can select any of [ck,systemd,none] as the session monitor.