From 686be1e5d8d99cf8e20e790ed4aa016e1731ea5a Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 27 Sep 2023 13:40:09 +0200 Subject: [PATCH] Amend SELinux to run hostname in its domain https://bugzilla.redhat.com/show_bug.cgi?id=2237740 --- smartmon.te | 2 +- smartmontools.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/smartmon.te b/smartmon.te index c5045d8..df14317 100644 --- a/smartmon.te +++ b/smartmon.te @@ -42,7 +42,7 @@ corecmd_exec_shell(smartdwarn_t) # reads list of users auth_read_passwd_file(smartdwarn_t) -hostname_exec(smartdwarn_t) +hostname_domtrans(smartdwarn_t) # smartd_warning.sh to run smartd_warning.d/* scripts allow smartdwarn_t smartdwarn_script_t:file execute_no_trans; diff --git a/smartmontools.spec b/smartmontools.spec index 6107b94..bfb521e 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -7,7 +7,7 @@ Summary: Tools for monitoring SMART capable hard disks Name: smartmontools Version: 7.4 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPL-2.0-or-later URL: http://smartmontools.sourceforge.net/ @@ -158,6 +158,9 @@ fi %changelog +* Wed Sep 27 2023 Alessandro Astone - 1:7.4-2 +- Amend SELinux to run hostname in its domain + * Tue Aug 01 2023 Michal Hlavinka - 1:7.4-1 - updated to 7.4