| Summary: | SELinux is preventing clamscan from 'open' accesses on the file /var/tmp/dnf-etrex-3xzcz3r0/dnf.librepo.log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miguel Angel Amos Ruvalcaba <miguel_a_amos> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:78112c8cec5e92e69dda544ecb14835c2f2cfbd4ee5b0e54590ac7c417d600ef;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-12 10:40:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: Se mostró el mensaje después de una tarea programada de clamav en el área de notificaciones. Version-Release number of selected component: selinux-policy-3.13.1-225.6.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.16-300.fc25.x86_64 type: libreport This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 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. |
Description of problem: Al desbloquear la computadora apareció este mensaje SELinux is preventing clamscan from 'open' accesses on the file /var/tmp/dnf-etrex-3xzcz3r0/dnf.librepo.log. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** If quiere allow antivirus to can scan system Then debe informar a SELinux de ésto activando el booleano 'antivirus_can_scan_system'. Puede leer la página de manual 'None' para más detalles. Do setsebool -P antivirus_can_scan_system 1 ***** Plugin catchall (11.6 confidence) suggests ************************** If cree que de manera predeterminada, clamscan debería permitir acceso open sobre dnf.librepo.log file. Then debería reportar esto como un error. Puede generar un módulo de política local para permitir este acceso. Do allow this access for now by executing: # ausearch -c 'clamscan' --raw | audit2allow -M my-clamscan # semodule -X 300 -i my-clamscan.pp Additional Information: Source Context system_u:system_r:antivirus_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:user_tmp_t:s0 Target Objects /var/tmp/dnf-etrex-3xzcz3r0/dnf.librepo.log [ file ] Source clamscan Source Path clamscan Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-225.1.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.12-300.fc25.x86_64 #1 SMP Fri Dec 2 17:52:11 UTC 2016 x86_64 x86_64 Alert Count 5 First Seen 2016-12-13 10:20:36 CST Last Seen 2016-12-13 10:20:36 CST Local ID c8d25a46-c8b9-4de6-9f09-9b6a17c70ece Raw Audit Messages type=AVC msg=audit(1481646036.918:252): avc: denied { open } for pid=3792 comm="clamscan" path="/var/tmp/dnf-etrex-3xzcz3r0/dnf.librepo.log" dev="sda2" ino=5249160 scontext=system_u:system_r:antivirus_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0 Hash: clamscan,antivirus_t,user_tmp_t,file,open Version-Release number of selected component: selinux-policy-3.13.1-225.1.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.12-300.fc25.x86_64 type: libreport