Bug 967175
| Summary: | SELinux is preventing /usr/bin/clamscan from 'getattr' accesses on the chr_file /dev/vhost-net. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Grosswiler Roger <roger> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:954cb2b0bb9b8b0d37bad01717d1778e3c2df4bf8f46a525cbe59b2a390df7a0 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-27 10:16:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 967166 *** |
Description of problem: SELinux is preventing /usr/bin/clamscan from 'getattr' accesses on the chr_file /dev/vhost-net. ***** Plugin catchall (100. confidence) suggests *************************** If sie denken, dass es clamscan standardmässig erlaubt sein sollte, getattr Zugriff auf vhost-net chr_file zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # grep clamscan /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:antivirus_t:s0-s0:c0.c1023 Target Context system_u:object_r:vhost_device_t:s0 Target Objects /dev/vhost-net [ chr_file ] Source clamscan Source Path /usr/bin/clamscan Port <Unbekannt> Host (removed) Source RPM Packages clamav-0.97.8-1.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-44.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.3-301.fc19.x86_64 #1 SMP Mon May 20 12:50:56 UTC 2013 x86_64 x86_64 Alert Count 13 First Seen 2013-05-13 06:50:08 CEST Last Seen 2013-05-25 06:58:20 CEST Local ID 62865959-a0bb-4de2-ac67-18285cd9e5bd Raw Audit Messages type=AVC msg=audit(1369457900.848:24538): avc: denied { getattr } for pid=23901 comm="clamscan" path="/dev/vhost-net" dev="devtmpfs" ino=11234 scontext=system_u:system_r:antivirus_t:s0-s0:c0.c1023 tcontext=system_u:object_r:vhost_device_t:s0 tclass=chr_file type=SYSCALL msg=audit(1369457900.848:24538): arch=x86_64 syscall=lstat success=no exit=EACCES a0=6cc4b0 a1=7fff1f06d170 a2=7fff1f06d170 a3=9 items=0 ppid=23899 pid=23901 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=13 tty=(none) comm=clamscan exe=/usr/bin/clamscan subj=system_u:system_r:antivirus_t:s0-s0:c0.c1023 key=(null) Hash: clamscan,antivirus_t,vhost_device_t,chr_file,getattr Additional info: reporter: libreport-2.1.4 hashmarkername: setroubleshoot kernel: 3.9.3-301.fc19.x86_64 type: libreport