From ad87c8bd66e7625f87d15735ae4ada8466ff7e7e Mon Sep 17 00:00:00 2001
From: lixiao <lixiaoemail2017@163.com>
Date: Thu, 29 Dec 2022 16:37:42 +0800
Subject: [PATCH] add rule for hostnamed to rpmscript dbus chat

---
 policy/modules/contrib/rpm.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/contrib/rpm.te b/policy/modules/contrib/rpm.te
index 91337e4..10ab605 100644
--- a/policy/modules/contrib/rpm.te
+++ b/policy/modules/contrib/rpm.te
@@ -465,6 +465,7 @@ optional_policy(`
         systemd_dbus_chat_logind(rpm_script_t)
         systemd_dbus_chat_timedated(rpm_script_t)
         systemd_dbus_chat_localed(rpm_script_t)
+        systemd_dbus_chat_hostnamed(rpm_script_t)
     ')
 ')
 
-- 
2.27.0

