public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Filak <jfilak@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/abrt] update-2.17.9-f44: Fix desktop centric polkit policy file
Date: Mon, 03 Aug 2026 11:04:07 GMT	[thread overview]
Message-ID: <178575504791.1.8516133610041648000.rpms-abrt-86cae0cb5d75@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/abrt
Branch : update-2.17.9-f44
Commit : 86cae0cb5d75b3d4e78161024eba42a153dae2b9
Author : Jakub Filak <jfilak@redhat.com>
Date   : 2014-05-06T13:08:27+02:00
Stats  : +50/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/abrt/c/86cae0cb5d75b3d4e78161024eba42a153dae2b9?branch=update-2.17.9-f44

Log:
Fix desktop centric polkit policy file

---
diff --git a/0002-dbus-Fix-desktop-centric-polkit-policy-file.patch b/0002-dbus-Fix-desktop-centric-polkit-policy-file.patch
new file mode 100644
index 0000000..f5743e9
--- /dev/null
+++ b/0002-dbus-Fix-desktop-centric-polkit-policy-file.patch
@@ -0,0 +1,44 @@
+From e98c8766655216db3d9a08b1fa52ba7decf57c46 Mon Sep 17 00:00:00 2001
+From: Stef Walter <stefw@redhat.com>
+Date: Mon, 5 May 2014 08:41:00 +0200
+Subject: [PATCH 2/2] dbus: Fix desktop centric polkit policy file
+
+In order to allow use of ABRT's DBus API on servers, the polkit
+policy should allow admin usage even when not logged in an active
+seat (ie: monitor and keyboard). Otherwise use from ssh logins and
+Cockpit is prevented.
+---
+ src/dbus/abrt_polkit.policy | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/dbus/abrt_polkit.policy b/src/dbus/abrt_polkit.policy
+index 06008b4..a3425d9 100644
+--- a/src/dbus/abrt_polkit.policy
++++ b/src/dbus/abrt_polkit.policy
+@@ -19,9 +19,9 @@ Copyright (c) 2012 ABRT Team <crash-catcher@fedorahosted.com>
+     <description>Get problems from all users</description>
+     <message>Reading others problems requires authentication</message>
+     <defaults>
+-      <allow_any>no</allow_any>
++      <allow_any>auth_admin</allow_any>
+       <allow_active>auth_admin_keep</allow_active>
+-      <allow_inactive>no</allow_inactive>
++      <allow_inactive>auth_admin</allow_inactive>
+     </defaults>
+   </action>
+ 
+@@ -30,9 +30,9 @@ Copyright (c) 2012 ABRT Team <crash-catcher@fedorahosted.com>
+     <description>Set value of configuration properties</description>
+     <message>Update configuration values reuquires authentication</message>
+     <defaults>
+-      <allow_any>no</allow_any>
++      <allow_any>auth_admin</allow_any>
+       <allow_active>auth_admin_keep</allow_active>
+-      <allow_inactive>no</allow_inactive>
++      <allow_inactive>auth_admin</allow_inactive>
+     </defaults>
+   </action>
+ 
+-- 
+1.9.0
+

diff --git a/abrt.spec b/abrt.spec
index a454fc3..2a5c51e 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -40,7 +40,7 @@
 Summary: Automatic bug detection and reporting tool
 Name: abrt
 Version: 2.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: https://fedorahosted.org/abrt/
@@ -48,6 +48,8 @@ Source: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
 # don't remove this patch, packages in rawhide are not signed!
 Patch0: disable-OpenGPGCheck-in-Fedora-Rawhide.patch
 
+Patch2: 0002-dbus-Fix-desktop-centric-polkit-policy-file.patch
+
 # '%%autosetup -S git' -> git
 BuildRequires: git
 
@@ -922,6 +924,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
 
 %changelog
+* Tue May 06 2014 Jakub Filak <jfilak@redhat.com> 2.2.1-2
+- dbus: Fix desktop centric polkit policy file
+
 * Tue Apr 22 2014 Jakub Filak <jfilak@redhat.com> 2.2.1-1
 - stop using deprecated json-c functions
 - vmcore: start the service after kdump service

                 reply	other threads:[~2026-08-03 11:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178575504791.1.8516133610041648000.rpms-abrt-86cae0cb5d75@fedoraproject.org \
    --to=jfilak@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox