Hide Forgot
Description of problem: The problem occurred at upgrading from amavisd-2.10.1-5 to 2.11-0.3 (also to 2.11.0.4). Downgrading amavisd to 2.10.1-5 stops the problem occurring. SELinux is preventing amavisd from 'read' accesses on the lnk_file log. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** If you want to allow antivirus to can scan system Then you must tell SELinux about this by enabling the 'antivirus_can_scan_system' boolean. You can read 'None' man page for more details. Do setsebool -P antivirus_can_scan_system 1 ***** Plugin catchall (11.6 confidence) suggests ************************** If you believe that amavisd should be allowed read access on the log lnk_file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'amavisd' --raw | audit2allow -M my-amavisd # semodule -X 300 -i my-amavisd.pp Additional Information: Source Context system_u:system_r:antivirus_t:s0 Target Context system_u:object_r:tmpfs_t:s0 Target Objects log [ lnk_file ] Source amavisd Source Path amavisd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-158.24.fc23.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.8-100.fc23.x86_64 #1 SMP Tue Nov 15 18:51:53 UTC 2016 x86_64 x86_64 Alert Count 31148 First Seen 2016-07-27 14:09:15 BST Last Seen 2016-12-01 16:20:15 GMT Local ID 811f487c-3718-4b55-96cb-a117badfb236 Raw Audit Messages type=AVC msg=audit(1480609215.558:15374): avc: denied { read } for pid=13438 comm="/usr/sbin/amavi" name="log" dev="tmpfs" ino=1853790 scontext=system_u:system_r:antivirus_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=lnk_file permissive=0 Hash: amavisd,antivirus_t,tmpfs_t,lnk_file,read Version-Release number of selected component: selinux-policy-3.13.1-158.24.fc23.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.8.10-100.fc23.x86_64 type: libreport
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.