Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468902 - =gnome-base/gdm-{3.6*,3.8*}: add backported patch that makes logind/consolekit detection working at runtime
Summary: =gnome-base/gdm-{3.6*,3.8*}: add backported patch that makes logind/consoleki...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://github.com/Sabayon/systemd-lo...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.8 systemd-love
  Show dependency tree
 
Reported: 2013-05-07 18:19 UTC by Fabio Erculiani (RETIRED)
Modified: 2013-07-11 09:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
1. fix logind/consolekit runtime detection (0001-gdm-display-fix-get_timed_login_details-when-systemd.patch,1.17 KB, patch)
2013-05-07 18:20 UTC, Fabio Erculiani (RETIRED)
Details | Diff
2. use LOGIND_RUNNING (for gdm-3.8!) (0002-gdm-display-use-LOGIND_RUNING-instead-of-sd_booted.patch,1.29 KB, patch)
2013-05-07 18:20 UTC, Fabio Erculiani (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.