add rule for hostnamed to rpmscript dbus chat

This commit is contained in:
lixiao 2022-12-30 11:45:32 +08:00
parent 7635dabae4
commit 5bef36689c
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,23 @@
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

View File

@ -12,7 +12,7 @@
Summary: SELinux policy configuration
Name: selinux-policy
Version: 3.14.2
Release: 79
Release: 80
License: GPLv2+
URL: https://github.com/fedora-selinux/selinux-policy/
@ -114,6 +114,7 @@ Patch6039: backport-Add-file-context-for-.config-Yubico.patch
Patch6040: backport-Change-transitions-for-.config-Yubico.patch
Patch9000: allow-httpd-to-put-files-in-httpd-config-dir.patch
Patch9001: add-rule-for-hostnamed-to-rpmscript-dbus-chat.patch
BuildArch: noarch
BuildRequires: python3 gawk checkpolicy >= %{CHECKPOLICYVER} m4 policycoreutils-devel >= %{POLICYCOREUTILSVER} bzip2 gcc
@ -783,6 +784,9 @@ exit 0
%endif
%changelog
* Thu Dec 29 2022 lixiao<lixiaoemail2017@163.com> - 3.14.2-80
- add rule for hostnamed to rpmscript dbus chat
* Sat Dec 24 2022 lixiao<lixiaoemail2017@163.com> - 3.14.2-79
- add the dependency between packages