Bug 831076
Summary: | SELinux is preventing /usr/sbin/snort-plain from 'getattr' accesses on the file /etc/passwd. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | mamii <sarrab1976> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl, rlowe |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:0aa43175477d9ef468d8f9aa9d1781eb6305b94fd001375e5b95ecd03392b427 | ||
Fixed In Version: | selinux-policy-3.11.1-100.fc18 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-15 02:53:11 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: |
Description
mamii
2012-06-12 07:08:33 UTC
*** Bug 831077 has been marked as a duplicate of this bug. *** Fixed in selinux-policy-3.10.0-131.fc17 selinux-policy-3.10.0-132.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-132.fc17 selinux-policy-3.10.0-132.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. selinux-policy-3.10.0-132.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. This bug is also present in FC18: Source Context system_u:system_r:snort_t:s0 Target Context system_u:object_r:passwd_file_t:s0 Target Objects /etc/passwd [ file ] Source snort Source Path /usr/sbin/snort-plain Port <Unknown> Host [removed] Source RPM Packages snort-2.9.4-1.x86_64 Target RPM Packages setup-2.8.57-1.fc18.noarch Policy RPM selinux-policy-3.11.1-97.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name [removed] Platform Linux [removed] 3.9.5-201.fc18.x86_64 #1 SMP Tue Jun 11 19:40:51 UTC 2013 x86_64 x86_64 Alert Count 7 First Seen 2013-06-11 07:37:02 EST Last Seen 2013-06-25 08:28:02 EST Local ID bae61c47-6c85-4c6c-9ca0-6915368a52de Raw Audit Messages type=AVC msg=audit(1372112882.266:422): avc: denied { read } for pid=3692 comm="snort" name="passwd" dev="dm-4" ino=13371997 scontext=system_u:system_r:snort_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file type=SYSCALL msg=audit(1372112882.266:422): arch=x86_64 syscall=open success=no exit=EACCES a0=7f50895c06ca a1=80000 a2=1b6 a3=238 items=0 ppid=3691 pid=3692 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=snort exe=/usr/sbin/snort-plain subj=system_u:system_r:snort_t:s0 key=(null) Hash: snort,snort_t,passwd_file_t,file,read audit2allow #============= snort_t ============== allow snort_t passwd_file_t:file read; audit2allow -R require { type snort_t; } #============= snort_t ============== auth_read_passwd(snort_t) commit f7c2bfc2f886234f4b3493c8325c79429478add8 Author: Miroslav Grepl <mgrepl> Date: Mon Jul 1 10:43:55 2013 +0200 Allow snort to read /etc/passwd selinux-policy-3.11.1-99.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-99.fc18 Package selinux-policy-3.11.1-99.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-99.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-14256/selinux-policy-3.11.1-99.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-100.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-100.fc18 selinux-policy-3.11.1-100.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |