rpms/gdm/F-11 gdm-2.26.1-set-auth-flag.patch, NONE, 1.1 gdm.spec, 1.469, 1.470

Ray Strode rstrode at fedoraproject.org
Thu May 7 20:44:54 UTC 2009


Author: rstrode

Update of /cvs/pkgs/rpms/gdm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32467

Modified Files:
	gdm.spec 
Added Files:
	gdm-2.26.1-set-auth-flag.patch 
Log Message:
- Hopefully fix bug 499272 (weird behavior when typing
  init 3 from within the session)


gdm-2.26.1-set-auth-flag.patch:

--- NEW FILE gdm-2.26.1-set-auth-flag.patch ---
commit 43b1084d52892fffea7f2e6cd3731ad2a46b52bd
Author: Ray Strode <rstrode at redhat.com>
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);
         dbus_message_unref (reply);
 
+        session->priv->is_authenticated = TRUE;
         _gdm_session_authenticated (GDM_SESSION (session));
 
         return DBUS_HANDLER_RESULT_HANDLED;
@@ -361,6 +362,7 @@ gdm_session_direct_handle_authentication_failed (GdmSessionDirect *session,
 
         g_debug ("GdmSessionDirect: Emitting 'authentication-failed' signal");
 
+        session->priv->is_authenticated = FALSE;
         _gdm_session_authentication_failed (GDM_SESSION (session), NULL);
 
         return DBUS_HANDLER_RESULT_HANDLED;


Index: gdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/F-11/gdm.spec,v
retrieving revision 1.469
retrieving revision 1.470
diff -u -p -r1.469 -r1.470
--- gdm.spec	30 Apr 2009 02:13:33 -0000	1.469
+++ gdm.spec	7 May 2009 20:44:23 -0000	1.470
@@ -16,7 +16,7 @@
 Summary: The GNOME Display Manager
 Name: gdm
 Version: 2.26.1
-Release: 7%{?dist}
+Release: 8%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: User Interface/X
@@ -103,6 +103,9 @@ Patch20: session-client.patch
 # fixed upstream
 Patch21: xdmcp-use-after-free.patch
 
+# http://bugzilla.redhat.com/499272 43b1084d52892fffea7f2e6cd3731ad2a46b52bd
+Patch22: gdm-2.26.1-set-auth-flag.patch
+
 # Fedora-specific
 Patch99: gdm-2.23.1-fedora-logo.patch
 
@@ -147,8 +150,8 @@ The GDM fingerprint plugin provides func
 %patch19 -p1 -b .multistack
 
 %patch20 -p1 -b .session-client
-
 %patch21 -p1 -b .xdmcp-use-after-free
+%patch22 -p1 -b .set-auth-flag
 
 %patch99 -p1 -b .fedora-logo
 
@@ -390,6 +393,10 @@ fi
 %{_libdir}/gdm/simple-greeter/plugins/fingerprint.so
 
 %changelog
+* Thu May 07 2009 Ray Strode <rstrode at redhat.com> - 1:2.26.1-8
+- Hopefully fix bug 499272 (weird behavior when typing
+  init 3 from within the session)
+
 * Wed Apr 29 2009 Matthias Clasen <mclasen at redhat.com> - 1:2.26.1-7
 - Don't rely on _BACKUP property for xkb initialization
 




More information about the scm-commits mailing list