| Summary: | AVC denials caused by amavisd-snmp service start/restart | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Michal Trunecka <mtruneck> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Michal Trunecka <mtruneck> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.5 | CC: | dwalsh, ebenes, mmalik |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.7.19-212.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-21 10:49:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Michal Trunecka
2013-08-21 11:28:30 UTC
These are rules which are missing for clamav service: From test: /CoreOS/selinux-policy/Regression/bz500392-problems-with-clamav-milter allow antivirus_t antivirus_log_t:dir { write add_name }; allow antivirus_t antivirus_log_t:file create; ---- time->Wed Aug 21 14:07:14 2013 type=SYSCALL msg=audit(1377086834.299:130868): arch=c000003e syscall=2 success=yes exit=3 a0=abc4d0 a1=441 a2=1b6 a3=0 items=0 ppid=8782 pid=8783 auid=500 uid=491 gid=486 euid=491 suid=491 fsuid=491 egid=486 sgid=486 fsgid=486 tty=pts20 ses=2 comm="clamd" exe="/usr/sbin/clamd" subj=unconfined_u:system_r:antivirus_t:s0 key=(null) type=AVC msg=audit(1377086834.299:130868): avc: denied { create } for pid=8783 comm="clamd" name="clamd.log" scontext=unconfined_u:system_r:antivirus_t:s0 tcontext=unconfined_u:object_r:antivirus_log_t:s0 tclass=file type=AVC msg=audit(1377086834.299:130868): avc: denied { add_name } for pid=8783 comm="clamd" name="clamd.log" scontext=unconfined_u:system_r:antivirus_t:s0 tcontext=system_u:object_r:antivirus_log_t:s0 tclass=dir type=AVC msg=audit(1377086834.299:130868): avc: denied { write } for pid=8783 comm="clamd" name="clamav" dev=dm-5 ino=1703948 scontext=unconfined_u:system_r:antivirus_t:s0 tcontext=system_u:object_r:antivirus_log_t:s0 tclass=dir Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1598.html |