Red Hat Bugzilla – Bug 966904
loginctl lock-sessions, gnome-screensaver, and escaped session-ids in dbus path
Last modified: 2013-12-29 15:40:11 EST
I noticed that loginctl lock-sessions has no effect with gnome-screensaver, because the session-id is escaped in session_bus_path() from systemd-201/src/login/logind-session-dbus.c, and the matching session-id is considered unescaped in _listener_message_path_is_our_session() from gnome-screensaver-3.6.1/src/gs-listener-dbus.c.
In my case all session-id reported by loginctl list-sessions are numerical values, so the difference between the escaped and the unescaped string is just the initial digit, that is replaced by its hex ascii value (_3X for digit X), for example with session-id=1 :
[listener_dbus_handle_system_message] gs-listener-dbus.c:854 (10:42:21): obj_path=/org/freedesktop/login1/session/_31 interface=org.freedesktop.login1.Session method=Lock destination=(null)
I don't know where the fix makes sense the most, to not escape session-id in systemd, or to unescape it properly in gnome-screensaver.
*** Bug 968521 has been marked as a duplicate of this bug. ***
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '18'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 18's end of life.
Thank you for reporting this issue and we are sorry that we may not be
able to fix it before Fedora 18 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior to Fedora 18's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Hm, wasn't this fixed at some point?
Yes. I cannot reproduce the bug in Fedora 20 (session locking is now handled by gnome-shell). I close this bug.