Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 347618 Details for
Bug 468902
=gnome-base/gdm-{3.6*,3.8*}: add backported patch that makes logind/consolekit detection working at runtime
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1. fix logind/consolekit runtime detection
0001-gdm-display-fix-get_timed_login_details-when-systemd.patch (text/plain), 1.17 KB, created by
Fabio Erculiani (RETIRED)
on 2013-05-07 18:20:27 UTC
(
hide
)
Description:
1. fix logind/consolekit runtime detection
Filename:
MIME Type:
Creator:
Fabio Erculiani (RETIRED)
Created:
2013-05-07 18:20:27 UTC
Size:
1.17 KB
patch
obsolete
>From e0e17a459a04051159a263331ca62a7f9d7cce23 Mon Sep 17 00:00:00 2001 >From: Fabio Erculiani <lxnay@sabayon.org> >Date: Sun, 21 Apr 2013 13:53:24 +0100 >Subject: [PATCH 1/2] gdm-display: fix get_timed_login_details when systemd is > enabled but not running > >--- > daemon/gdm-display.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c >index 435dc1c..2a621df 100644 >--- a/daemon/gdm-display.c >+++ b/daemon/gdm-display.c >@@ -33,6 +33,10 @@ > #include <glib/gi18n.h> > #include <glib-object.h> > >+#ifdef WITH_SYSTEMD >+#include <systemd/sd-daemon.h> >+#endif >+ > #include "gdm-display.h" > #include "gdm-display-glue.h" > #include "gdm-display-access-file.h" >@@ -361,8 +365,10 @@ gdm_display_real_get_timed_login_details (GdmDisplay *display, > * can support auto/timed login on auxilliary seats in the > * systemd path. > */ >- if (g_strcmp0 (display->priv->seat_id, "seat0") != 0) { >- goto out; >+ if (sd_booted() > 0) { >+ if (g_strcmp0 (display->priv->seat_id, "seat0") != 0) { >+ goto out; >+ } > } > #endif > >-- >1.8.1.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 468902
: 347618 |
347620