diff --git a/gdm-2.26.1-set-auth-flag.patch b/gdm-2.26.1-set-auth-flag.patch index 3e7dfbf..bcc6c65 100644 --- a/gdm-2.26.1-set-auth-flag.patch +++ b/gdm-2.26.1-set-auth-flag.patch @@ -1,30 +1,21 @@ -commit 43b1084d52892fffea7f2e6cd3731ad2a46b52bd -Author: Ray Strode -Date: Thu May 7 16:34:57 2009 -0400 - - Set is_authenticated to TRUE when authenticated - - Before the flag was never getting set causing btmp records to get - written when the session and slave are killed around the same time - (by switching runlevels) - -diff --git a/daemon/gdm-session-direct.c b/daemon/gdm-session-direct.c -index 34a126f..7259bf6 100644 ---- a/daemon/gdm-session-direct.c -+++ b/daemon/gdm-session-direct.c -@@ -334,6 +334,7 @@ gdm_session_direct_handle_authenticated (GdmSessionDirect *session, - dbus_connection_send (connection, reply, NULL); +diff -up gdm-2.26.1/daemon/gdm-session-direct.c.set-auth-flag gdm-2.26.1/daemon/gdm-session-direct.c +--- gdm-2.26.1/daemon/gdm-session-direct.c.set-auth-flag 2009-05-08 11:43:58.935662919 -0400 ++++ gdm-2.26.1/daemon/gdm-session-direct.c 2009-05-08 11:46:46.785623788 -0400 +@@ -380,6 +380,8 @@ gdm_session_direct_handle_authenticated + dbus_connection_send (conversation->worker_connection, reply, NULL); dbus_message_unref (reply); + session->priv->is_authenticated = TRUE; - _gdm_session_authenticated (GDM_SESSION (session)); ++ + _gdm_session_authenticated (GDM_SESSION (session), conversation->service_name); return DBUS_HANDLER_RESULT_HANDLED; -@@ -361,6 +362,7 @@ gdm_session_direct_handle_authentication_failed (GdmSessionDirect *session, +@@ -407,6 +409,8 @@ gdm_session_direct_handle_authentication g_debug ("GdmSessionDirect: Emitting 'authentication-failed' signal"); + session->priv->is_authenticated = FALSE; - _gdm_session_authentication_failed (GDM_SESSION (session), NULL); ++ + _gdm_session_authentication_failed (GDM_SESSION (session), conversation->service_name, NULL); return DBUS_HANDLER_RESULT_HANDLED; diff --git a/gdm.spec b/gdm.spec index 340fa22..81e8bfb 100644 --- a/gdm.spec +++ b/gdm.spec @@ -16,7 +16,7 @@ Summary: The GNOME Display Manager Name: gdm Version: 2.26.1 -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 1 License: GPLv2+ Group: User Interface/X @@ -393,6 +393,9 @@ fi %{_libdir}/gdm/simple-greeter/plugins/fingerprint.so %changelog +* Fri May 08 2009 Ray Strode - 1:2.26.1-9 +- Redo patch from -8 since patch misapplies the other one. + * Thu May 07 2009 Ray Strode - 1:2.26.1-8 - Hopefully fix bug 499272 (weird behavior when typing init 3 from within the session)