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

Bug 682126

Summary: xfce-base/xfce4-session: Add USE elogind
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 599470    

Description Andreas Sturmlechner gentoo-dev 2019-03-31 11:06:27 UTC
I see the only thing it does is enforcing policykit:

REQUIRED_USE="systemd? ( policykit )"

Maybe the only thing we need to do here is do the same for USE elogind?
Comment 1 Andreas Sturmlechner gentoo-dev 2019-03-31 13:29:44 UTC
Looking at xfsm-systemd.{c,h} all it seems to use is logind interface, so it should indeed work with elogind (and enforcing the same in REQUIRED_USE as described above).
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-31 16:37:07 UTC
Would you be able to test it with elogind?
Comment 3 Andreas Sturmlechner gentoo-dev 2019-03-31 17:20:39 UTC
If no one else does, I guess...
Comment 4 Andreas Sturmlechner gentoo-dev 2019-03-31 18:15:08 UTC
Yes, tested lock session, restart, worked fine without extra configuration.
Comment 5 Larry the Git Cow gentoo-dev 2019-03-31 18:20:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8ffcc9eeb16d9245969085b169fa73acbdd43d

commit 3d8ffcc9eeb16d9245969085b169fa73acbdd43d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-31 18:07:55 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-31 18:19:59 +0000

    xfce-base/xfce4-session: Add USE=elogind equiv to USE=systemd
    
    Add USE=elogind that works the same as USE=systemd, i.e. pulls policykit
    flag in.  We eventually want to probably rewrite this to something saner
    but let's settle with this for now.
    
    Closes: https://bugs.gentoo.org/682126
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 xfce-base/xfce4-session/xfce4-session-4.12.1-r2.ebuild | 5 +++--
 xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild    | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)