From 5867b09c03641f8a270863952a67cff61c3cc8e4 Mon Sep 17 00:00:00 2001
From: Zdenek Pytela <zpytela@redhat.com>
Date: Fri, 24 Jul 2020 21:28:43 +0200
Reference: https://github.com/fedora-selinux/selinux-policy/commit/5867b09c03641f8a270863952a67cff61c3cc8e4
Conflict: NA
Subject: [PATCH] Allow systemd-logind dbus chat with fwupd

---
 policy/modules/system/systemd.te | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index 7cb36c4..367758a 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -353,6 +353,10 @@ optional_policy(`
 ')
 
 optional_policy(`
+	fwupd_dbus_chat(systemd_logind_t)
+')
+
+optional_policy(`
 	# we label /run/user/$USER/dconf as config_home_t
 	gnome_manage_home_config_dirs(systemd_logind_t)
 	gnome_manage_home_config(systemd_logind_t)
-- 
1.8.3.1

