diff --git a/README.debrand b/README.debrand
deleted file mode 100644
index 01c46d2..0000000
--- a/README.debrand
+++ /dev/null
@@ -1,2 +0,0 @@
-Warning: This package was configured for automatic debranding, but the changes
-failed to apply.
diff --git a/SOURCES/00001-fix-dbus-policy.patch b/SOURCES/00001-fix-dbus-policy.patch
new file mode 100644
index 0000000..ee8bc45
--- /dev/null
+++ b/SOURCES/00001-fix-dbus-policy.patch
@@ -0,0 +1,99 @@
+diff --git a/etc-conf/dbus/system.d/com.redhat.RHSM1.conf b/etc-conf/dbus/system.d/com.redhat.RHSM1.conf
+index e21c57263..11adf1d79 100644
+--- a/etc-conf/dbus/system.d/com.redhat.RHSM1.conf
++++ b/etc-conf/dbus/system.d/com.redhat.RHSM1.conf
+@@ -7,23 +7,9 @@
+
+
+
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
++
+
+
+@@ -37,11 +23,6 @@
+
+
+-
+-
+-
+
+
+@@ -65,5 +46,54 @@
+
+
+-
+
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
diff --git a/SPECS/subscription-manager.spec b/SPECS/subscription-manager.spec
index 17a362d..2c62c10 100644
--- a/SPECS/subscription-manager.spec
+++ b/SPECS/subscription-manager.spec
@@ -134,7 +134,7 @@
Name: subscription-manager
Version: 1.24.52
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tools and libraries for subscription and repository management
Group: System Environment/Base
License: GPLv2
@@ -265,6 +265,8 @@ BuildRequires: systemd-rpm-macros
BuildRequires: systemd
%endif
+Patch00001: 00001-fix-dbus-policy.patch
+
%description
The Subscription Manager package provides programs and libraries to allow users
to manage subscriptions and yum repositories from the Red Hat entitlement
@@ -526,6 +528,8 @@ Subscription Manager Cockpit UI
%prep
%setup -q
+%autopatch -p1
+
%build
make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \
LDFLAGS="%{__global_ldflags}" OS_DIST="%{dist}" PYTHON="%{__python}" \
@@ -1170,6 +1174,9 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%changelog
+* Tue Aug 08 2023 Jiri Hnidek 1.24.52-2
+- 2229752: Fix D-Bus policy (jhnidek@redhat.com)
+
* Tue Jun 27 2023 Pino Toscano 1.24.52-1
- tito: update rhel-7.9 releaser (ptoscano@redhat.com)
- managercli: fix RestlibException reporting for get_current_owner()