Description of problem: Since upgrade from F26 to F27 SELinux is preventing fail2ban-server from 'map' accesses on the fichier /var/log/journal/0d72a028972341f8958a3add7eb07c8f/system.journal. ***** Plugin catchall (100. confidence) suggests ************************** If vous pensez que fail2ban-server devrait être autorisé à accéder map sur system.journal file par défaut. Then vous devriez rapporter ceci en tant qu'anomalie. Vous pouvez générer un module de stratégie local pour autoriser cet accès. Do allow this access for now by executing: # ausearch -c 'fail2ban-server' --raw | audit2allow -M my-fail2banserver # semodule -X 300 -i my-fail2banserver.pp Additional Information: Source Context system_u:system_r:fail2ban_t:s0 Target Context system_u:object_r:var_log_t:s0 Target Objects /var/log/journal/0d72a028972341f8958a3add7eb07c8f/ system.journal [ file ] Source fail2ban-server Source Path fail2ban-server Port <Inconnu> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.5.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.13.5-300.fc27.x86_64 #1 SMP Thu Oct 5 16:57:11 UTC 2017 x86_64 x86_64 Alert Count 9396 First Seen 2017-10-09 21:59:15 CEST Last Seen 2017-10-09 22:26:04 CEST Local ID 1c62a820-1946-4d0c-be25-1736d17eea7d Raw Audit Messages type=AVC msg=audit(1507580764.55:1658): avc: denied { map } for pid=822 comm="fail2ban-server" path="/var/log/journal/0d72a028972341f8958a3add7eb07c8f/system.journal" dev="dm-0" ino=267660 scontext=system_u:system_r:fail2ban_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file permissive=0 Hash: fail2ban-server,fail2ban_t,var_log_t,file,map Version-Release number of selected component: selinux-policy-3.13.1-283.5.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.2 hashmarkername: setroubleshoot kernel: 4.13.5-300.fc27.x86_64 type: libreport
Works fine with selinux-policy-3.13.1-283.9.fc27.noarch and selinux-policy-targeted-3.13.1-283.9.fc27.noarch
selinux-policy-3.13.1-283.13.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b5e9ce60d2
selinux-policy-3.13.1-283.14.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b5e9ce60d2
selinux-policy-3.13.1-283.14.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.