diff --git a/add-rules-for-hostname-to-rpmScript-dbus-chat.patch b/add-rules-for-hostname-to-rpmScript-dbus-chat.patch new file mode 100644 index 0000000000000000000000000000000000000000..fddb744e2675e0fcab00f6fe4f3aaede5f1d7b2d --- /dev/null +++ b/add-rules-for-hostname-to-rpmScript-dbus-chat.patch @@ -0,0 +1,24 @@ +From 87036953c68ee07a5ea1a4c2b3082620f261131d Mon Sep 17 00:00:00 2001 +From: jinlun +Date: Tue, 19 Dec 2023 19:41:14 +0800 +Subject: [PATCH] add rules for hostname 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 + diff --git a/selinux-policy.spec b/selinux-policy.spec index 1c7f09383b544b3f789e92681fa896115c6c3f85..0215d44f3700d1b003d1bc612ab9ad0cf1bddd1f 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -12,7 +12,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 35.5 -Release: 21 +Release: 22 License: GPLv2+ URL: https://github.com/fedora-selinux/selinux-policy/ @@ -283,6 +283,7 @@ Patch9003: allow-httpd-to-put-files-in-httpd-config-dir.patch Patch9004: allow-map-postfix_master_t.patch Patch9005: add-rule-for-hostnamed-to-rpmscript-dbus-chat.patch Patch9006: allow-init_t-create-fifo-file-in-net_conf-dir.patch +Patch9007: add-rules-for-hostname-to-rpmScript-dbus-chat.patch BuildArch: noarch BuildRequires: python3 gawk checkpolicy >= %{CHECKPOLICYVER} m4 policycoreutils-devel >= %{POLICYCOREUTILSVER} bzip2 gcc @@ -951,6 +952,9 @@ exit 0 %endif %changelog ++* Wed Dec 20 2023 jinlun - 35.5-22 ++- add rules for hostnamed to rpmScript dbus chat + * Thu Aug 24 2023 wangqingsan - 35.5-21 - backport upstream patches