As in Summary, when systemd USE enabled for sway, it needs polkit to be present, otherwise starting sway ( for example by running `sway` in tty ) would fail due to no PolicyKit1 service not present Reproducible: Always Steps to Reproduce: 1. remove sys-auth/pokit 2. run `sway` in tty 3. notice start failure
sys-auth/elogind also has "policykit" USE flag, so possibly gui-wm/sway with USE="elogind" may need the same solution. - elogind? ( >=sys-auth/elogind-239 ) + elogind? ( >=sys-auth/elogind-239[policykit] ) - systemd? ( >=sys-apps/systemd-239 ) + systemd? ( >=sys-apps/systemd-239[policykit] )
ya, it sounds like this is needed, updated 9999 and 1.5.1-r1 to include the polkit flag
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec6aa4365aaaa9ab2a579e2d2bdacfddf8e066c commit 6ec6aa4365aaaa9ab2a579e2d2bdacfddf8e066c Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2020-12-19 21:54:49 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2020-12-19 21:55:03 +0000 gui-wm/sway: add missing polkit flag to systemd and elogind Closes: https://bugs.gentoo.org/760252 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> gui-wm/sway/sway-1.5.1-r1.ebuild | 117 +++++++++++++++++++++++++++++++++++++++ gui-wm/sway/sway-9999.ebuild | 4 +- 2 files changed, 119 insertions(+), 2 deletions(-)
Hi, I'm using sway[elogind] on a system without PolicyKit. Not only does it work without PolicyKit installed, the new change breaks my system by forcibly pulling in PolicyKit...
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67040dce09c04b221c6d38ed58091eef12f50fcb commit 67040dce09c04b221c6d38ed58091eef12f50fcb Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2021-02-09 22:58:04 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2021-02-09 22:59:52 +0000 gui-wm/sway: remove policykit flag from elogind dep Bug: https://bugs.gentoo.org/760252 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> gui-wm/sway/sway-1.5.1-r1.ebuild | 2 +- gui-wm/sway/sway-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
(In reply to Katherine Peeters from comment #4) > Hi, I'm using sway[elogind] on a system without PolicyKit. Not only does it > work without PolicyKit installed, the new change breaks my system by > forcibly pulling in PolicyKit... For me, removing sys-auth/polkit leads to bug 770436. Could you please explain how you get sway started without?