For the log entry below, build the SELinux module that allows sendmail to read the object_r:init_var_run_t:s0 tclass=sock_file # grep "denied { write }" /var/log

what is Selinux and how to implement on your Server To check whether SELinux policies are the reason for the problem, you can try turning it off temporarily. However be CAREFUL, since this will disable protection entirely. Do not do this on your production server. setenforce 0 Or Edit file. vim /etc/selinux/config #SELINUX=enforcing SELINUX… Troubleshooting SELinux :: Fedora Docs Site Jul 24, 2020 A sysadmin's guide to SELinux | Opensource.com Jul 12, 2018 Using syslog-ng with SELinux in enforcing mode - Blog

How to Disable or set SELinux to Permissive mode – The

How to Rotate and Compress Log Files in Linux with Logrotate

logging - logrotate cron job not rotating certain logs

Getting started with SELinux :: Fedora Docs Site If an SELinux policy rule does not exist to allow access, such as for a process opening a file, access is denied. SELinux can confine Linux users. A number of confined SELinux users exist in SELinux policy. Linux users can be mapped to confined SELinux users to take advantage of the security rules and mechanisms applied to them. How to Disable or Turn Off SELinux on CentOS 7 {Easy Way}