Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727840 - gui-wm/sway-1.4-r3: Extraneous(?) dependency on sys-auth/consolekit
Summary: gui-wm/sway-1.4-r3: Extraneous(?) dependency on sys-auth/consolekit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Aaron Bauman (RETIRED)
URL:
Whiteboard:
Keywords:
: 728680 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-10 13:17 UTC by Haelwenn (lanodan) Monnier
Modified: 2020-06-18 19:00 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haelwenn (lanodan) Monnier 2020-06-10 13:17:18 UTC
As seen in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6374f22a4ec4034fc220f621aa854d01c2113101

I'm not sure why this change was done as there is no explaination in the commit message at all (Maybe stuff like firefox relying on non-standard environment variables? Typical of Mozilla to only care for Gnome Wayland, which follows it's own way of doing things).

This dependency on sys-auth/consolekit should at least be something that you can toggle off with a USE flag as it's *not* a dependency of sway, and there should be an explaination as to why it's in there.

Reproducible: Always
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-06-10 19:07:00 UTC
if it's required to launch sway if elogind or logind (via systemd) is not installed isn't it a runtime dep?
Comment 2 Haelwenn (lanodan) Monnier 2020-06-12 05:09:29 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #1)
> if it's required to launch sway if elogind or logind (via systemd) is not
> installed isn't it a runtime dep?

How is ConsoleKit a requirement?

- Sway runs fine without systemd/elogind as well as without ConsoleKit
- It's not documented as a dependency of it, the only mention of it that I've found is in https://github.com/swaywm/sway/wiki/Startup-(process-manager)-Integration where it's something optional, a bit like using it for X11 window managers or using any login/display manager.
- ConsoleKit seems to be just yet another login manager
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-06-12 05:25:04 UTC
it was the way https://bugs.gentoo.org/708680 was solved
Comment 4 lord-gentoo 2020-06-16 14:45:57 UTC
Sway can work without systemd|elogind|consolekit but in this case the binary must be suid.
Consolkit is not mandatory.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-18 18:19:17 UTC
*** Bug 728680 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2020-06-18 19:00:39 UTC
The bug has been closed via the following commit(s):

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

commit dde113dd8cb0c69720f98883903aef3bfce0a3ed
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-06-18 19:00:21 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-06-18 19:00:21 +0000

    gui-wm/sway: remove consolekit dependency
    
    Fixes: https://bugs.gentoo.org/727840
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 gui-wm/sway/sway-1.4-r3.ebuild | 120 -----------------------------------------
 gui-wm/sway/sway-9999.ebuild   |   1 -
 2 files changed, 121 deletions(-)