[systemd-devel] (no subject)
gmane at colin.guthr.ie
Mon Sep 3 16:59:58 PDT 2012
'Twas brillig, and Colin Guthrie at 03/09/12 23:46 did gyre and gimble:
> OK, so these are the changes I'd propose to fix the issues mentioned
> in this thread. I've not tested them so this is more for general
> feedback as to whether this approach is generally a good one or not.
> The initial patch is just extra debugging I added to try and work out
> why my gdm session is not marked with type=greeter so seems like a
> generally useful change when in debug mode.
It seems that while I still think the principle behind these changes
makes sense, that the various env var files are simply not updated
correctly when various changes occur:
e.g. compare the output and note the discrepancy in the [Ss]tate= values:
[colin at jimmy systemd (master)]$ loginctl show-session 1
Timestamp=Tue, 04 Sep 2012 00:27:37 +0100
[colin at jimmy systemd (master)]$ cat /run/systemd/sessions/1
# This is private data. Do not parse.
I do have a patch that adds various calls to seat_save(),
session_save(), user_save() at appropriate junctures, but I've not
tested this yet and it would appear to be quite easy to get tied in
knots and add infinite loops!
Tribalogic Limited http://www.tribalogic.net/
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel