components/gnome/gdm/patches/0014-logout-wtmpx.patch
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Mon, 31 Oct 2016 18:25:15 -0700
changeset 7201 bcc18175756d
permissions -rw-r--r--
23245293 Move gdm to Userland and update to 3.18.2 PSARC/2016/448 GNOME Display Manager (GDM) v3.18 23245463 Move desktop-startup 0.38.0 to Userland 16882229 Desktop packages should remove restart_fmri=svc:/system/rbac:default 21020801 Add "RO" to res1 field of auth_attr.d files in gdm 21020166 html help files in gdm for RBAC profiles and authorizations must go 22134482 svc:/application/graphical-login/gdm goes into maintenance when gdm coredumps

From dd025ea2459d84cfd30406a9a06c22a2ed0db266 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <[email protected]>
Date: Tue, 29 Dec 2015 19:09:03 -0800
Subject: [PATCH 14/19] logout wtmpx

Bug 15814640/SUNBT7196841 When a user logout from GDM the username is
  not logged
Original date:2012-09-17 owner:abhijit type:bug bugster: 7196841
---
 daemon/gdm-session-record.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/daemon/gdm-session-record.c b/daemon/gdm-session-record.c
index 590a1e8..349c36f 100644
--- a/daemon/gdm-session-record.c
+++ b/daemon/gdm-session-record.c
@@ -338,6 +338,8 @@ gdm_session_record_logout (GPid                  session_pid,
         if (x11_display_name == NULL)
                 x11_display_name = display_device;
 
+        record_set_username (&session_record, user_name);
+
         g_debug ("Writing logout record");
 
 #if defined(HAVE_UT_UT_TYPE)
-- 
2.7.4