Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 468902

Summary: =gnome-base/gdm-{3.6*,3.8*}: add backported patch that makes logind/consolekit detection working at runtime
Product: Gentoo Linux Reporter: Fabio Erculiani (RETIRED) <lxnay>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/Sabayon/systemd-love/tree/master/gnome-base/gdm/files
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 463242, 468898    
Attachments: 1. fix logind/consolekit runtime detection
2. use LOGIND_RUNNING (for gdm-3.8!)

Description Fabio Erculiani (RETIRED) gentoo-dev 2013-05-07 18:19:16 UTC
Attached to this bug are two patches (the one about LOGIND_RUNNING is for gnome-3.8 but could be ported to gdm-3.6 adding the macro definition [1]) that I already upstreamed (and have been accepted) that fixes the logind/consolekit runtime detection for gdm.

[1] #define LOGIND_RUNNING() (access("/run/systemd/seats/", F_OK) >= 0)

Reproducible: Always
Comment 1 Fabio Erculiani (RETIRED) gentoo-dev 2013-05-07 18:20:27 UTC
Created attachment 347618 [details, diff]
1. fix logind/consolekit runtime detection
Comment 2 Fabio Erculiani (RETIRED) gentoo-dev 2013-05-07 18:20:45 UTC
Created attachment 347620 [details, diff]
2. use LOGIND_RUNNING (for gdm-3.8!)
Comment 3 Pacho Ramos gentoo-dev 2013-05-07 18:40:19 UTC
I only can seen upstream commit for:
https://git.gnome.org/browse/gdm/commit/?id=7c475b2937f89c582b3cd814bc9cdbf40afdd536

not the other patch, do you have any bug reference?
Comment 4 Fabio Erculiani (RETIRED) gentoo-dev 2013-07-11 09:29:12 UTC
Here: https://git.gnome.org/browse/gdm/commit/?id=c8d80a570cf017870f692f496a5488097356f30c

I think that we can close this.