Skip to content

Commit

Permalink
SELinux update CentOS 8
Browse files Browse the repository at this point in the history
Former-commit-id: 2b855b9
  • Loading branch information
shawniverson committed Aug 23, 2020
1 parent f1d5bff commit ff82084
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions rpmbuild/SOURCES/eFa-4.0.2/eFa/eFa8.te
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

module eFa 1.0.23;
module eFa 1.0.24;

type mailwatchsql_etc_t;
type sqlgreysql_etc_t;
Expand Down Expand Up @@ -115,6 +115,7 @@ require {
type mysqld_var_run_t;
type rsync_t;
type gssproxy_t;
type setroubleshootd_t;
class file { getattr open read ioctl execute create lock append write unlink setattr execute_no_trans rename map };
class dir { getattr read open search write add_name setattr create remove_name ioctl rmdir };
class sock_file { getattr write };
Expand Down Expand Up @@ -303,7 +304,6 @@ dontaudit httpd_sys_script_t ntpd_t:dir { getattr search };
dontaudit httpd_sys_script_t ntpd_t:file { read open };
dontaudit httpd_sys_script_t dhcpc_t:dir { getattr search };
dontaudit httpd_sys_script_t dhcpc_t:file { read open };
# CentOS 8
dontaudit httpd_sys_script_t sssd_t:dir { getattr search };
dontaudit httpd_sys_script_t sssd_t:file { read open };
dontaudit httpd_sys_script_t systemd_resolved_t:dir { getattr search };
Expand All @@ -314,6 +314,8 @@ dontaudit httpd_sys_script_t gpg_agent_t:dir { getattr search };
dontaudit httpd_sys_script_t gpg_agent_t:file { read open };
dontaudit httpd_sys_script_t gssproxy_t:dir { getattr search };
dontaudit httpd_sys_script_t gssproxy_t:file { read open };
dontaudit httpd_sys_script_t setroubleshootd_t:dir { getattr search };
dontaudit httpd_sys_script_t setroubleshootd_t:file { read open };

# allow spamassassin and mailscanner lint
allow httpd_sys_script_t etc_mail_t:dir search;
Expand Down Expand Up @@ -416,6 +418,7 @@ allow mscan_t httpd_sys_content_t:file getattr;
allow mscan_t self:capability dac_override;
allow mscan_t mysqld_var_run_t:sock_file { write };
allow mscan_t mscan_t:process { setsched };
allow mscan_t antivirus_var_run_t:sock_file { getattr write };

#============= greylist_milter_t ==============
allow greylist_milter_t self:capability { kill dac_override };
Expand Down
5 changes: 4 additions & 1 deletion rpmbuild/SPECS/eFa4.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Name: eFa
Summary: eFa Maintenance rpm
Version: 4.0.2
Release: 26.eFa%{?dist}
Release: 27.eFa%{?dist}
Epoch: 1
Group: Applications/System
URL: https://efa-project.org
Expand Down Expand Up @@ -468,6 +468,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644, root, root) %{_sysconfdir}/logrotate.d/eFa-logrotate

%changelog
* Sun Aug 23 2020 eFa Project <[email protected]> - 4.0.2-27
- SELinux update

* Sat Aug 22 2020 eFa Project <[email protected]> - 4.0.2-26
- SELinux update

Expand Down

0 comments on commit ff82084

Please sign in to comment.