From c001fa59efbe527aadab82a1432d5d729972602b Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 10 Nov 2024 13:09:56 +0000 Subject: [PATCH] profiles: mask >=sys-auth/polkit-124 on non-systemd profiles >=polkit-124 breaks suspend on elogind systems and I haven't been able to get to the bottom of it, so mask for now. Bug: https://github.com/polkit-org/polkit/issues/451 Bug: https://bugs.gentoo.org/923614 Bug: https://bugs.gentoo.org/934314 Signed-off-by: Sam James --- profiles/base/package.mask | 5 +++++ profiles/targets/systemd/package.mask | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 profiles/targets/systemd/package.mask diff --git a/profiles/base/package.mask b/profiles/base/package.mask index f7f6c9a921d0b..9678dc930ef80 100644 --- a/profiles/base/package.mask +++ b/profiles/base/package.mask @@ -1,6 +1,11 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Sam James (2024-11-10) +# Breaks suspend on elogind systems (bug #934314, bug #923614) +# https://github.com/polkit-org/polkit/issues/451 +>=sys-auth/polkit-124 + # matoro (2024-08-18) # Pre-rust versions of librsvg. Has vulnerabilities, so masked by # default and only unmasked on wd40. diff --git a/profiles/targets/systemd/package.mask b/profiles/targets/systemd/package.mask new file mode 100644 index 0000000000000..532b8d38fd350 --- /dev/null +++ b/profiles/targets/systemd/package.mask @@ -0,0 +1,8 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Sam James (2024-11-10) +# Breaks suspend on elogind systems (bug #934314, bug #923614) but +# works fine on systemd machines. +# https://github.com/polkit-org/polkit/issues/451 +->=sys-auth/polkit-124