Activity log for bug #1894213

Date Who What changed Old value New value Message
2020-09-04 10:51:24 Valentyna bug added bug
2020-09-04 10:51:24 Valentyna attachment added Patch, which fixes a problem. https://bugs.launchpad.net/bugs/1894213/+attachment/5407610/+files/session-path.patch
2020-09-04 10:52:04 Valentyna summary gnome-flashback libscreensaver use wrong session on path 20.04 gnome-flashback libscreensaver use wrong session path on ubuntu 20.04
2020-09-04 11:03:46 Launchpad Janitor gnome-flashback (Ubuntu): status New Confirmed
2020-09-04 11:41:32 Alberts Muktupāvels bug watch added https://gitlab.gnome.org/GNOME/gnome-flashback/-/issues/67
2020-09-04 11:41:32 Alberts Muktupāvels bug task added gnome-flashback
2020-09-07 06:20:55 Roman Shipovskij bug added subscriber Roman Shipovskij
2020-12-08 13:45:01 Dmitry Shachnev description My OS: lsb_release -rd Description: Ubuntu 20.04.1 LTS Release: 20.04 If I lock my screen and then press button "Switch User..." and again type my login and pass, screensaver does not unlock my current session and shows unlock dialog. This is because of incorrect path of session in libscreensaver/gf-listener.c. To fix this problem should add "_3" to path. I create a patch which fixes problem. --- a/gnome-flashback/libscreensaver/gf-listener.c +++ b/gnome-flashback/libscreensaver/gf-listener.c @@ -436,7 +436,7 @@ g_debug ("Session id: %s", session_id); - path = g_strdup_printf ("%s/%s", LOGIN_SESSION_DBUS_PATH, session_id); + path = g_strdup_printf ("%s/_3%s", LOGIN_SESSION_DBUS_PATH, session_id); g_free (session_id); gf_login_session_gen_proxy_new_for_bus (G_BUS_TYPE_SYSTEM, [Impact] logind sessions have string IDs. When constructing the D-Bus path of a session, systemd uses bus_label_escape() function. That function escapes everything that is not a-zA-Z0-9 with a '_' plus two hexadecimal digits. It also escapes 0-9 if it's the first character. For example, '6' which is (char)0x36 becomes "_36". GNOME Flashback did not support this escaping logic, so unlocking did not work in some cases. [Test Case] 1. Lock screen. 2. Press button "Switch user...". 3. Type username and password. 4. Screensaver does not unlock the current session and shows unlock dialog. [Where problems could occur] Potential problems will be related to screensaver code. For example, if something goes wrong with systemd D-Bus interface, it will not work. [Other Info] Original description: My OS: lsb_release -rd Description: Ubuntu 20.04.1 LTS Release: 20.04 If I lock my screen and then press button "Switch User..." and again type my login and pass, screensaver does not unlock my current session and shows unlock dialog. This is because of incorrect path of session in libscreensaver/gf-listener.c. To fix this problem should add "_3" to path. I create a patch which fixes problem.
2020-12-08 13:45:10 Dmitry Shachnev nominated for series Ubuntu Focal
2020-12-08 13:45:10 Dmitry Shachnev bug task added gnome-flashback (Ubuntu Focal)
2020-12-08 13:45:18 Dmitry Shachnev gnome-flashback (Ubuntu): status Confirmed Fix Released
2020-12-08 13:45:25 Dmitry Shachnev gnome-flashback (Ubuntu Focal): assignee Dmitry Shachnev (mitya57)
2020-12-08 19:17:03 Brian Murray gnome-flashback (Ubuntu Focal): status New Fix Committed
2020-12-08 19:17:06 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2020-12-08 19:17:09 Brian Murray bug added subscriber SRU Verification
2020-12-08 19:17:14 Brian Murray tags focal focal verification-needed verification-needed-focal
2020-12-09 09:17:01 Valentyna tags focal verification-needed verification-needed-focal focal verification-done-focal
2020-12-15 23:45:47 Launchpad Janitor gnome-flashback (Ubuntu Focal): status Fix Committed Fix Released
2020-12-15 23:45:55 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2022-05-20 16:01:57 Bug Watch Updater gnome-flashback: status Unknown Fix Released