public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/abrt] update-2.17.9-f44: Fix invalid dbus policy file
@ 2026-08-03 11:04 Jakub Filak
  0 siblings, 0 replies; only message in thread
From: Jakub Filak @ 2026-08-03 11:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/abrt
Branch : update-2.17.9-f44
Commit : 4fa16be75ce68d5f4186511e27db99bb5d69d44b
Author : Jakub Filak <jfilak@redhat.com>
Date   : 2014-05-06T15:34:43+02:00
Stats  : +37/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/abrt/c/4fa16be75ce68d5f4186511e27db99bb5d69d44b?branch=update-2.17.9-f44

Log:
Fix invalid dbus policy file

---
diff --git a/0003-dbus-Fix-invalid-dbus-policy-file.patch b/0003-dbus-Fix-invalid-dbus-policy-file.patch
new file mode 100644
index 0000000..29d5e44
--- /dev/null
+++ b/0003-dbus-Fix-invalid-dbus-policy-file.patch
@@ -0,0 +1,32 @@
+From 050ebb0786dc2ea24ffbb560b16bc2cbc7ccfedc Mon Sep 17 00:00:00 2001
+From: Stef Walter <stefw@redhat.com>
+Date: Tue, 6 May 2014 14:12:22 +0200
+Subject: [PATCH 3/3] dbus: Fix invalid dbus policy file
+
+The use of at_console is a bit of a relic from times before polkit.
+
+But more importantly I've removed a section that has no effect, and
+opens up the dbus policy for an invalid name: org.freedesktop.org
+---
+ src/dbus/dbus-abrt.conf | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/src/dbus/dbus-abrt.conf b/src/dbus/dbus-abrt.conf
+index 159d5ef..3bac353 100644
+--- a/src/dbus/dbus-abrt.conf
++++ b/src/dbus/dbus-abrt.conf
+@@ -16,11 +16,6 @@
+     <allow send_interface="com.redhat.problems.configuration"/>
+   </policy>
+ 
+-  <policy at_console="true">
+-    <allow send_destination="org.freedesktop.org"/>
+-    <allow send_destination="com.redhat.problems.configuration"/>
+-  </policy>
+-
+   <!-- Allow anyone to invoke methods on abrt server -->
+   <policy context="default">
+     <allow send_destination="org.freedesktop.problems"/>
+-- 
+1.9.0
+

diff --git a/abrt.spec b/abrt.spec
index 2a5c51e..a1d8fa8 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: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: https://fedorahosted.org/abrt/
@@ -49,6 +49,7 @@ Source: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
 Patch0: disable-OpenGPGCheck-in-Fedora-Rawhide.patch
 
 Patch2: 0002-dbus-Fix-desktop-centric-polkit-policy-file.patch
+Patch3: 0003-dbus-Fix-invalid-dbus-policy-file.patch
 
 # '%%autosetup -S git' -> git
 BuildRequires: git
@@ -924,6 +925,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-3
+- dbus: Fix invalid dbus policy file
+
 * Tue May 06 2014 Jakub Filak <jfilak@redhat.com> 2.2.1-2
 - dbus: Fix desktop centric polkit policy file
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-03 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 11:04 [rpms/abrt] update-2.17.9-f44: Fix invalid dbus policy file Jakub Filak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox