Amend SELinux to run hostname in its domain

https://bugzilla.redhat.com/show_bug.cgi?id=2237740
This commit is contained in:
Alessandro Astone 2023-09-27 13:40:09 +02:00
parent 4c95e21bf3
commit 686be1e5d8
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -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 <ales.astone@gmail.com> - 1:7.4-2
- Amend SELinux to run hostname in its domain
* Tue Aug 01 2023 Michal Hlavinka <mhlavink@redhat.com> - 1:7.4-1
- updated to 7.4